]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: TUR path is down after adapter gets reset with multipath
authorwenxiong@linux.vnet.ibm.com <wenxiong@linux.vnet.ibm.com>
Thu, 6 Nov 2014 21:11:23 +0000 (15:11 -0600)
committerChristoph Hellwig <hch@lst.de>
Mon, 10 Nov 2014 14:23:27 +0000 (15:23 +0100)
commit04ab367176ef82ad0872bed5ffb91557f02d2357
treeb4618a159f3df6fb6adce0ec9aac7f08c45601cd
parent5bd18d4a7035afbc87913e9836d45e482dcf7338
scsi: TUR path is down after adapter gets reset with multipath

This patch fixes an issue with multipath ipr SAS devices which require a
start unit command to be issued following an adapter reset. Without this
patch, paths get marked failed following an adapter reset and since the
error handler never gets invoked to issue the start unit, the paths are
never recovered. Returning FAILED for this case ensures the error
handler wakes up to issue the start unit.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Tested-by: Wen Xiong <wenxiong@linux.vnet.ibm.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/device_handler/scsi_dh_alua.c