Re: [PATCH 13/20] scsi_dh_alua: Recheck state on unit attention

2015-12-31 Thread Hannes Reinecke
On 12/30/2015 02:22 PM, Christoph Hellwig wrote: On Tue, Dec 08, 2015 at 08:37:33AM +0100, Hannes Reinecke wrote: When we receive a unit attention code of 'ALUA state changed' we should recheck the state, as it might be due to an implicit ALUA state transition. This allows us to return

Re: [PATCH 13/20] scsi_dh_alua: Recheck state on unit attention

2015-12-30 Thread Christoph Hellwig
On Tue, Dec 08, 2015 at 08:37:33AM +0100, Hannes Reinecke wrote: > When we receive a unit attention code of 'ALUA state changed' > we should recheck the state, as it might be due to an implicit > ALUA state transition. This allows us to return NEEDS_RETRY > instead of ADD_TO_MLQUEUE, allowing to

[PATCH 13/20] scsi_dh_alua: Recheck state on unit attention

2015-12-07 Thread Hannes Reinecke
When we receive a unit attention code of 'ALUA state changed' we should recheck the state, as it might be due to an implicit ALUA state transition. This allows us to return NEEDS_RETRY instead of ADD_TO_MLQUEUE, allowing to terminate the retries after a certain time. At the same time a workqueue