Stefan Richter bf637ec3ef 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)
2006-02-23 00:25:08 -05:00
..
2006-01-01 22:21:50 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-11-22 12:17:14 -05:00
2005-11-07 06:31:45 -05:00
2005-07-10 12:23:23 -07:00
2005-04-16 15:20:36 -07:00
2005-11-22 12:18:28 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-11-07 06:31:45 -05:00
2005-11-07 06:31:45 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-11-18 00:16:26 -05:00
2005-11-22 12:35:23 -05:00
2005-07-10 12:23:23 -07:00
2005-11-18 00:16:26 -05:00
2005-11-18 00:16:26 -05:00
2005-11-18 00:16:26 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-11-07 06:31:45 -05:00
2005-04-16 15:20:36 -07:00
2005-11-22 12:37:10 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00