On Mar 3, 2023, at 12:41 PM, Martin Wilck <mwi...@suse.com> wrote:
> 
> On Fri, 2023-03-03 at 09:18 -0800, Brian Bunker wrote:
>>> 
>> Hello Martin, 
>> 
>> Doesn’t "something in between failed and up” semantics describe ALUA
>> state transitioning pretty well?
> 
> transitioning - yes. standby - ??
> 
> Martin
> 
The checking for standby is 14 years old, and says that TUR returns
a unit attention when the path is in standby. I am not sure why that
wouldn’t be handled by this code above: I would think there should be
just one unit attention for each I_T_L when an ALUA state change
happens.Not sure how it exceeds the retry count.

if (key == 0x6) {
    /* Unit Attention, retry */
    if (—retry_tur)
        goto retry;
}

From my perspective failing a path for ALUA state standby is reasonable
since it is not an active state.

--
dm-devel mailing list
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel

Reply via email to