libmultipath: stop PURE FlashArray from detecting priority
PATCH 1/1 libmultipath: stop PURE FlashArray from detecting priority
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'.
--- libmultipath/hwtable.c | 1 + 1 file changed, 1 insertion(+)
libmultipath/hwtable.c +1 -0
@@ -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, },
Signature · 1 line
2.43.0
Quoted 9 lines · Brian Bunker
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]>
Quoted 16 lines
---
libmultipath/hwtable.c | 1 +1 file changed, 1 insertion(+)libmultipath/hwtable.c +1
-0@@ -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, },