]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
[SCSI] megaraid_sas: Return DID_ERROR for SCSI IO, when controller is in critical...
authorSumit.Saxena@lsi.com <Sumit.Saxena@lsi.com>
Wed, 22 May 2013 06:59:28 +0000 (12:29 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 24 Jun 2013 23:55:17 +0000 (16:55 -0700)
commitb09e66da3f5d9c47336dfe63f1e76696931fbdb0
treed4eaf9fc26a7d4e1244acbdf04e990ae2b2ee50b
parent28ce280fe46f0ba90c7df26d9fa5ba21a2e8a6bc
[SCSI] megaraid_sas: Return DID_ERROR for SCSI IO, when controller is in critical h/w error

Do not return SCSI_MLQUEUE_HOST_BUSY, but send DID_ERROR to SCSI mid-layer, if
adapter is in critical error state.  "SCSI_MLQUEUE_HOST_BUSY" will keep same
SCSI command in loop and it is not a right return value, if controller is
hardware critical error.

Signed-off-by: Sumit Saxena <sumit.saxena@lsi.com>
Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/megaraid/megaraid_sas_base.c