Skip to content
Commit 0eadf37a authored by Josef Bacik's avatar Josef Bacik Committed by Jens Axboe
Browse files

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: default avatarJosef Bacik <jbacik@fb.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 9b4a6ba9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment