]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: scsi_dh_alua: skip RTPG for devices only supporting active/optimized
authorHannes Reinecke <hare@suse.com>
Fri, 22 Dec 2017 11:52:53 +0000 (12:52 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 11 Jan 2018 04:25:11 +0000 (23:25 -0500)
commit8a57f154fffe2ebf34ffeed513acbf5bcb082140
tree6467b3b860f9f61d1cd0045745626e674a7857af
parent70a07c998a8da3d3af0ca8629b685d511882472a
scsi: scsi_dh_alua: skip RTPG for devices only supporting active/optimized

For hardware only supporting active/optimized there's no point in ever
re-issuing RTPG as the only new state we can possibly read is
active/optimized.  This avoid spurious errors during path failover on
such arrays.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/device_handler/scsi_dh_alua.c