]> git.ipfire.org Git - people/arne_f/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Nov 2017 08:40:41 +0000 (08:40 +0000)
commitf6b7c54c2d0ee8fe4d3b1cdfdb1961a80be60d3f
treebd3e63d41afbeb8a8bdcb07575715410be79886e
parenta59e386c4f4fce346161c0a62a5e1fbc1f435d6f
nbd: wait uninterruptible for the dead timeout

commit ff57dc94faec023abc267cdc45766fccff497557 upstream.

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: 560bc4b39952 ("nbd: handle dead connections")
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/block/nbd.c