]> git.baikalelectronics.ru Git - kernel.git/commit
null_blk: wire up timeouts
authorJens Axboe <axboe@kernel.dk>
Tue, 9 Jan 2018 19:47:24 +0000 (12:47 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 9 Jan 2018 21:59:19 +0000 (14:59 -0700)
commitaea58a3a57f135699bdca1f98b078afb83e29443
treef28276d8138b9298c6782f5a8fad937a846e661e
parenta0a4662a87d872e4b696bf6022eaf9ab5cbf9333
null_blk: wire up timeouts

This is needed to ensure that we actually handle timeouts.
Without it, the queue_mode=1 path will never call blk_add_timer(),
and the queue_mode=2 path will continually just return
EH_RESET_TIMER and we never actually complete the offending request.

This was used to test the new timeout code, and the changes around
killing off REQ_ATOM_COMPLETE.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/null_blk.c