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)
commit0a72e7f44964b9ada3e5c15820372e9cb119bf80
tree08885e630c816c2d22951f29e1783c685400fcb1
parent76a86f9d027b342b8759a4b2f9f7fe046e284220
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