On Sun, 2026-05-31 at 12:38 +0200, Xose Vazquez Perez wrote:
> Update ALUA asymmetric access state descriptions in the prioritizer
> to
> match the shorter names defined in the SCSI kernel subsystem:
> 
>    $ grep  "{ SCSI_ACCESS_STATE_"  linux/drivers/scsi/scsi_sysfs.c 
>         { SCSI_ACCESS_STATE_OPTIMAL, "active/optimized" },
>         { SCSI_ACCESS_STATE_ACTIVE, "active/non-optimized" },
>         { SCSI_ACCESS_STATE_STANDBY, "standby" },
>         { SCSI_ACCESS_STATE_UNAVAILABLE, "unavailable" },
>         { SCSI_ACCESS_STATE_LBA, "lba-dependent" },
>         { SCSI_ACCESS_STATE_OFFLINE, "offline" },
>         { SCSI_ACCESS_STATE_TRANSITIONING, "transitioning" },
> 
> This unifies diagnostic strings across the stack and replaces the
> misleading
> "ARRAY BUG: invalid TPGs state!" message with the standard SPC
> "reserved"
> designation. These codes are explicitly reserved for future standard
> definitions rather than being treated as malformed states.
> 
> Cc: Martin Wilck <[email protected]>
> Cc: Benjamin Marzinski <[email protected]>
> Cc: Christophe Varoqui <[email protected]>
> Cc: DM_DEVEL-ML <[email protected]>
> Signed-off-by: Xose Vazquez Perez <[email protected]>

Reviewed-by: Martin Wilck <[email protected]>

Reply via email to