diff options
author | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-09-20 00:31:50 +0000 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-09-23 12:29:01 -0700 |
commit | 44ea91c597ae4641d9ac21b8bbba0795d2f4261e (patch) | |
tree | 93a373ec24d3a290533bbcce1e7d038a6fb81179 /drivers/char/ipmi/ipmi_si_sm.h | |
parent | 048feec5548c0582ee96148c61b87cccbcb5f9be (diff) |
[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 <stern@rowland.harvard.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/char/ipmi/ipmi_si_sm.h')
0 files changed, 0 insertions, 0 deletions