]> Pileus Git - ~andy/linux/commit
[SCSI] scsi_dh_alua: ALUA check sense should retry device internal reset unit attention
authorStewart, Sean <Sean.Stewart@netapp.com>
Tue, 15 Oct 2013 15:52:39 +0000 (15:52 +0000)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 25 Oct 2013 10:14:18 +0000 (11:14 +0100)
commitc20ee7b56e0a1937b41919813e5a98373ca48ae8
tree4d5225e9ff6f83c50e3214628a5243bbf9d4a7ef
parent0f3c7b99f33f7a9c743a752bba2414615c48e270
[SCSI] scsi_dh_alua: ALUA check sense should retry device internal reset unit attention

When the scsi_dh_alua handler issues an RTPG during initialization, if it gets
0x06/0x29/0x04 as the sense, it will fail to attach the handler.  NetApp
E-Series returns 0x29/0x00 for power on, and 0x29/0x04 for conditions that
cause the controller to reboot again.  These conditions should be treated
identically within the handler.

Signed-off-by: Sean Stewart <Sean.Stewart@netapp.com>
Acked-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/device_handler/scsi_dh_alua.c