On Wed, 2024-01-31 at 14:45 -0800, Brian Bunker wrote:
> If 'detect_prio' is set to 'yes', the 'sysfs' prioritizer will be
> used
> instead of the 'alua' prioritizer. The 'sysfs' prioritizer can leave
> paths in the Active/Non-optimized ALUA state after a successful
> upgrade of a PURE FlashArray. Explicitly use the 'alua' prioritizer
> instead for PURE FlashArray rather than the default of 'detect_prio'
> which is 'yes'.
> 
> Signed-off-by: Brian Bunker <br...@purestorage.com>

Reviewed-by: Martin Wilck <mwi...@suse.com>

> ---
>  libmultipath/hwtable.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
> index ae6aac79..715f0fd6 100644
> --- a/libmultipath/hwtable.c
> +++ b/libmultipath/hwtable.c
> @@ -1106,6 +1106,7 @@ static struct hwentry default_hw[] = {
>               .pgfailback    = -FAILBACK_IMMEDIATE,
>               .hwhandler     = "1 alua",
>               .prio_name     = PRIO_ALUA,
> +             .detect_prio   = DETECT_PRIO_OFF,
>               .fast_io_fail  = 10,
>               .max_sectors_kb = 4096,
>       },


Reply via email to