diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2006-01-31 00:13:06 -0500 |
---|---|---|
committer | Jody McIntyre <scjody@modernduck.com> | 2006-02-23 00:25:08 -0500 |
commit | bf637ec3ef4159da3dd156ecf6f6987d8c8c5dae (patch) | |
tree | 4d90e883515171529e74ab9446e19bc1030abe4c /fs/eventpoll.c | |
parent | 9e956c2dac9bec602ed1ba29181b45ba6d2b6448 (diff) |
sbp2: fix another deadlock after disconnection
If there were commands enqueued but not completed before an SBP-2 unit
was unplugged (or an attempt to reconnect failed), knodemgrd or any
process which tried to remove the device would sleep uninterruptibly
in blk_execute_rq(). Therefore make sure that all commands are
completed when sbp2 retreats.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Jody McIntyre <scjody@modernduck.com>
(cherry picked from 61daa34c132c5d4ed8630e2c46e9bf2f0c7b3428 commit)
Diffstat (limited to 'fs/eventpoll.c')
0 files changed, 0 insertions, 0 deletions