]> git.baikalelectronics.ru Git - kernel.git/commit
block: add accessors for setting/querying request deadline
authorJens Axboe <axboe@kernel.dk>
Tue, 9 Jan 2018 21:23:42 +0000 (14:23 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 10 Jan 2018 18:47:47 +0000 (11:47 -0700)
commit0050f64129213a58d4ce358defffb73bfba5fb2f
tree08885e630c816c2d22951f29e1783c685400fcb1
parent28864501c0f1e18a8e907fbb9a9dbdbdc1d9b9ee
block: add accessors for setting/querying request deadline

We reduce the resolution of request expiry, but since we're already
using jiffies for this where resolution depends on the kernel
configuration and since the timeout resolution is coarse anyway,
that should be fine.

Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c
block/blk-timeout.c
block/blk.h
include/linux/blkdev.h