Re: [PATCH] sd: always retry READ CAPACITY for ALUA state transition

2017-10-17 Thread Hannes Reinecke
On 10/17/2017 03:57 PM, James Bottomley wrote: > On Tue, 2017-10-17 at 09:11 +0200, Hannes Reinecke wrote: >> During ALUA state transitions the device might return >> a sense code 02/04/0a (Logical unit not accessible, asymmetric >> access state transition). As this is a transient error >> we shoul

Re: [PATCH] sd: always retry READ CAPACITY for ALUA state transition

2017-10-17 Thread James Bottomley
On Tue, 2017-10-17 at 09:11 +0200, Hannes Reinecke wrote: > During ALUA state transitions the device might return > a sense code 02/04/0a (Logical unit not accessible, asymmetric > access state transition). As this is a transient error > we should just retry the READ CAPACITY call until > the state

[PATCH] sd: always retry READ CAPACITY for ALUA state transition

2017-10-17 Thread Hannes Reinecke
During ALUA state transitions the device might return a sense code 02/04/0a (Logical unit not accessible, asymmetric access state transition). As this is a transient error we should just retry the READ CAPACITY call until the state transition finishes and the correct capacity can be returned. Sign

Re: [PATCH] sd: always retry READ CAPACITY for ALUA state transition

2015-04-30 Thread Hannes Reinecke
On 04/28/2015 11:18 PM, James Bottomley wrote: > On Mon, 2015-04-27 at 11:35 +0200, Hannes Reinecke wrote: >> During ALUA state transitions the device might return >> a sense code 02/04/0a (Logical unit not accessible, asymmetric >> access state transition). As this is a transient error >> we shoul

Re: [PATCH] sd: always retry READ CAPACITY for ALUA state transition

2015-04-28 Thread James Bottomley
On Mon, 2015-04-27 at 11:35 +0200, Hannes Reinecke wrote: > During ALUA state transitions the device might return > a sense code 02/04/0a (Logical unit not accessible, asymmetric > access state transition). As this is a transient error > we should just retry the READ CAPACITY call until > the state

[PATCH] sd: always retry READ CAPACITY for ALUA state transition

2015-04-27 Thread Hannes Reinecke
During ALUA state transitions the device might return a sense code 02/04/0a (Logical unit not accessible, asymmetric access state transition). As this is a transient error we should just retry the READ CAPACITY call until the state transition finishes and the correct capacity can be returned. Sign