From: James Bottomley Date: Sat, 20 Sep 2008 00:31:50 +0000 (+0000) Subject: [SCSI] Fix hang with split requests X-Git-Tag: v2.6.27-rc8~8^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44ea91c597ae4641d9ac21b8bbba0795d2f4261e;p=pandora-kernel.git [SCSI] Fix hang with split requests Sometimes, particularly for USB devices with the last sector bug, requests get completed in chunks. There's a bug in this in that if one of the chunks gets an error, we complete that chunk with an error but never move on to the remaining ones, leading to the request hanging (because it's not fully completed). Fix this by completing all remaining chunks if an error is encountered. Cc: Alan Stern Signed-off-by: James Bottomley --- Reading git-diff-tree failed