]> git.baikalelectronics.ru Git - kernel.git/commit
nbd: wait uninterruptible for the dead timeout
authorJosef Bacik <jbacik@fb.com>
Mon, 6 Nov 2017 21:11:57 +0000 (16:11 -0500)
committerJens Axboe <axboe@kernel.dk>
Mon, 6 Nov 2017 21:15:02 +0000 (14:15 -0700)
commit3247654eb56ca2096d5e4c3e17ceb49d0210fa43
tree13e420c47d518dada7800b0cb74daab7bc45c0b8
parentd57bcaccf9d9ad32e52a8b5c2f4371ce6dcb27d4
nbd: wait uninterruptible for the dead timeout

If we have a pending signal or the user kills their application then
it'll bring down the whole device, which is less than awesome.  Instead
wait uninterruptible for the dead timeout so we're sure we gave it our
best shot.

Fixes: e8a6aba2ff9c ("nbd: handle dead connections")
Cc: stable@vger.kernel.org
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/nbd.c