aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/device_handler/scsi_dh_alua.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2014-11-06 15:11:22 -0600
committerChristoph Hellwig <hch@lst.de>2014-11-10 15:23:19 +0100
commite925cc431ac8285ad6e8b3fe09f6e3d8b3c30d56 (patch)
tree70ff4f072465a6d8ed71a42a92b593fe4defaeb9 /drivers/scsi/device_handler/scsi_dh_alua.c
parentscsi: only re-lock door after EH on devices that were reset (diff)
downloadlinux-dev-e925cc431ac8285ad6e8b3fe09f6e3d8b3c30d56.tar.xz
linux-dev-e925cc431ac8285ad6e8b3fe09f6e3d8b3c30d56.zip
scsi: call device handler for failed TUR command
Multipath devices using the TUR path checker need to see the sense code for a failed TUR command in their device handler. Since commit 14216561e164671ce147458653b1fea06a we always return success for mid layer issued TUR commands before calling the device handler, which stopped the TUR path checker from working. Move the call to the device handler check sense method before the early return for TUR commands to give the device handler a chance to intercept them. Signed-off-by: Christoph Hellwig <hch@infradead.org> Tested-by: Wen Xiong <wenxiong@linux.vnet.ibm.com> Reviewed-by: Hannes Reinecke <hare@suse.de>
Diffstat (limited to 'drivers/scsi/device_handler/scsi_dh_alua.c')
0 files changed, 0 insertions, 0 deletions