]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
nbd: allow block mq to deal with timeouts
authorJosef Bacik <jbacik@fb.com>
Thu, 8 Sep 2016 19:33:40 +0000 (12:33 -0700)
committerJens Axboe <axboe@fb.com>
Thu, 8 Sep 2016 20:01:37 +0000 (14:01 -0600)
commit0eadf37afc2500e1162c9040ec26a705b9af8d47
treee2a4674f63363cbe4a1cd1c975d57e100534b4ee
parent9b4a6ba9185ac1c398f2db69c491989452ce7018
nbd: allow block mq to deal with timeouts

Instead of rolling our own timer, just utilize the blk mq req timeout and do the
disconnect if any of our commands timeout.

Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/nbd.c