diff options
author | Hannes Reinecke <hare@suse.de> | 2016-02-19 08:17:15 (GMT) |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-02-24 02:27:02 (GMT) |
commit | 9d2c30395213166e0b5614fe97576a789864e5de (patch) | |
tree | 1c7ac2db35b08e00a766478eb76dcd1293a191f0 /include/scsi/scsi_dh.h | |
parent | c57168a1e15007e59fd2730678c7a6b28e8c7a37 (diff) | |
download | linux-9d2c30395213166e0b5614fe97576a789864e5de.tar.xz |
scsi_dh_alua: Send TEST UNIT READY to poll for transitioning
Sending a 'REPORT TARGET PORT GROUP' command is a costly operation,
as the array has to gather information about all ports.
So instead of using RTPG to poll for a status update when a port
is in transitioning we should be sending a TEST UNIT READY, and
wait for the sense code to report success.
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Ewan Milne <emilne@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/scsi/scsi_dh.h')
0 files changed, 0 insertions, 0 deletions