linux-uconsole/drivers/scsi/device_handler
Hannes Reinecke cf372c60ed scsi: scsi_dh_alua: handle RTPG sense code correctly during state transitions
[ Upstream commit b6ce6fb121 ]

Some arrays are not capable of returning RTPG data during state
transitioning, but rather return an 'LUN not accessible, asymmetric access
state transition' sense code. In these cases we can set the state to
'transitioning' directly and don't need to evaluate the RTPG data (which we
won't have anyway).

Link: https://lore.kernel.org/r/20191007135701.32389-1-hare@suse.de
Reviewed-by: Laurence Oberman <loberman@redhat.com>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-11-10 11:27:20 +01:00
..
Kconfig
Makefile
scsi_dh_alua.c scsi: scsi_dh_alua: handle RTPG sense code correctly during state transitions 2019-11-10 11:27:20 +01:00
scsi_dh_emc.c scsi: device_handler: remove VLAs 2018-03-12 22:37:20 -04:00
scsi_dh_hp_sw.c scsi: scsi_dh: Return SCSI_DH_XX error code from ->attach() 2017-09-25 19:03:14 -04:00
scsi_dh_rdac.c scsi: scsi_dh_rdac: zero cdb in send_mode_select() 2019-10-05 13:10:00 +02:00