Re: [PATCH 18/23] scsi_dh_alua: Send TEST UNIT READY to poll for transitioning

2016-02-11 Thread Hannes Reinecke
On 02/11/2016 09:25 PM, Ewan Milne wrote: > On Mon, 2016-02-08 at 15:34 +0100, Hannes Reinecke wrote: >> 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

Re: [PATCH 18/23] scsi_dh_alua: Send TEST UNIT READY to poll for transitioning

2016-02-11 Thread Ewan Milne
On Mon, 2016-02-08 at 15:34 +0100, Hannes Reinecke wrote: > 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 T

[PATCH 18/23] scsi_dh_alua: Send TEST UNIT READY to poll for transitioning

2016-02-08 Thread Hannes Reinecke
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. Si