]> git.baikalelectronics.ru Git - kernel.git/commit
blk-iocost: make ioc_now->now and ioc->period_at 64bit
authorTejun Heo <tj@kernel.org>
Tue, 1 Sep 2020 18:52:40 +0000 (14:52 -0400)
committerJens Axboe <axboe@kernel.dk>
Wed, 2 Sep 2020 01:38:32 +0000 (19:38 -0600)
commitb57f2e3447c3996e0ba994727169199926b86109
tree87aab92722d434d011a1e8a54c90064fc27570f2
parentb4766d504e6a4764cc63e9adf3abdad23b326c35
blk-iocost: make ioc_now->now and ioc->period_at 64bit

They are in microseconds and wrap in around 1.2 hours with u32. While
unlikely, confusions from wraparounds are still possible. We aren't saving
anything meaningful by keeping these u32. Let's make them u64.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-iocost.c