From: Kashyap, Desai Date: Wed, 23 Sep 2009 12:05:41 +0000 (+0530) Subject: [SCSI] mpt2sas: Freeze the sdev IO queue when firmware sends internal dev reset X-Git-Tag: v2.6.33-rc1~344^2~205 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ffc457ed6fe33728657a0cfb7509b90d554c21f;p=pandora-kernel.git [SCSI] mpt2sas: Freeze the sdev IO queue when firmware sends internal dev reset When receiving the MPI2_EVENT_SAS_DEV_STAT_RC_INTERNAL_DEVICE_RESET event, the driver will set the tm_busy flag in the sdev private host data, When tm_busy flag is set, the driver will return SCSI_MLQUEUE_DEVICE_BUSY, effectly freezing the IO to the device. The tm_busy flag is cleared with the MPI2_EVENT_SAS_DEV_STAT_RC_CMP_INTERNAL_DEV_RESET event. Signed-off-by: Kashyap Desai Signed-off-by: Eric Moore Signed-off-by: James Bottomley --- Reading git-diff-tree failed