Skip to content

Commit

Permalink
libmultipath: stop PURE FlashArray from detecting priority
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Martin Wilck <[email protected]>
  • Loading branch information
brianatpurestorage authored and mwilck committed Feb 1, 2024
1 parent 315708b commit ca62dfa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libmultipath/hwtable.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down

0 comments on commit ca62dfa

Please sign in to comment.