From: Stefan Richter Date: Tue, 31 Jan 2006 05:13:06 +0000 (-0500) Subject: sbp2: fix another deadlock after disconnection X-Git-Tag: v2.6.16-rc5~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf637ec3ef4159da3dd156ecf6f6987d8c8c5dae;p=pandora-kernel.git 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 Signed-off-by: Jody McIntyre (cherry picked from 61daa34c132c5d4ed8630e2c46e9bf2f0c7b3428 commit) --- Reading git-diff-tree failed