summaryrefslogtreecommitdiffstats
path: root/Documentation/block
diff options
context:
space:
mode:
authorJosef Bacik2017-11-06 22:11:58 +0100
committerJens Axboe2017-11-06 22:15:04 +0100
commit6a468d5990ecd1c2d07dd85f8633bbdd0ba61c40 (patch)
treeb3e4a8ef7e6a4a50f542afc8a3c9f2ab255032eb /Documentation/block
parentnbd: wait uninterruptible for the dead timeout (diff)
downloadkernel-qcow2-linux-6a468d5990ecd1c2d07dd85f8633bbdd0ba61c40.tar.gz
kernel-qcow2-linux-6a468d5990ecd1c2d07dd85f8633bbdd0ba61c40.tar.xz
kernel-qcow2-linux-6a468d5990ecd1c2d07dd85f8633bbdd0ba61c40.zip
nbd: don't start req until after the dead connection logic
We can end up sleeping for a while waiting for the dead timeout, which means we could get the per request timer to fire. We did handle this case, but if the dead timeout happened right after we submitted we'd either tear down the connection or possibly requeue as we're handling an error and race with the endio which can lead to panics and other hilarity. Fixes: 560bc4b39952 ("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>
Diffstat (limited to 'Documentation/block')
0 files changed, 0 insertions, 0 deletions