summaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-legacy.c
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2012-09-14 23:34:25 +0200
committerJames Bottomley <JBottomley@Parallels.com>2012-09-18 13:29:30 +0200
commit256d0eaac87da1e993190846064f339f4c7a63f5 (patch)
tree8db6f584da625086b36c90e1de23f9664a8b8587 /drivers/ide/ide-legacy.c
parent[SCSI] mpt2sas: Fix for issue - Unable to boot from the drive connected to HBA (diff)
downloadlinux-256d0eaac87da1e993190846064f339f4c7a63f5.tar.xz
linux-256d0eaac87da1e993190846064f339f4c7a63f5.zip
[SCSI] hpsa: fix handling of protocol error
If a command status of CMD_PROTOCOL_ERR is received, this information should be conveyed to the SCSI mid layer, not dropped on the floor. CMD_PROTOCOL_ERR may be received from the Smart Array for any commands destined for an external RAID controller such as a P2000, or commands destined for tape drives or CD/DVD-ROM drives, if for instance a cable is disconnected. This mostly affects multipath configurations, as disconnecting a cable on a non-multipath configuration is not going to do anything good regardless of whether CMD_PROTOCOL_ERR is handled correctly or not. Not handling CMD_PROTOCOL_ERR correctly in a multipath configaration involving external RAID controllers may cause data corruption, so this is quite a serious bug. This bug should not normally cause a problem for direct attached disk storage. Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Cc: stable@vger.kernel.org Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/ide/ide-legacy.c')
0 files changed, 0 insertions, 0 deletions