]> 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)
commit4cb46be385237f29450b8304f8e7ccaf202ec5cc
tree08885e630c816c2d22951f29e1783c685400fcb1
parent09e8bf50281dbc69a8d7f4464db6f098bf78699f
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