multipath-tools: alua: replace output for reserved return codes
PATCH 1/1 multipath-tools: alua: replace output for reserved return codes
Show an explicit error.
The current message could be misread, it is not related to the state of the port.
Cc Benjamin Marzinski <[email protected]>
Cc Hannes Reinecke <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
Signed-off-by Xose Vazquez Perez <[email protected]>
--- libmultipath/prioritizers/alua.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
libmultipath/prioritizers/alua.c +1 -1
@@ -32,7 +32,7 @@ static const char * aas_string[] = { [AAS_STANDBY] = "standby", [AAS_UNAVAILABLE] = "unavailable", [AAS_LBA_DEPENDENT] = "lba dependent", - [AAS_RESERVED] = "invalid/reserved", + [AAS_RESERVED] = "ARRAY BUG: invalid TPGs state!", [AAS_OFFLINE] = "offline", [AAS_TRANSITIONING] = "transitioning between states", };
Signature · 1 line
2.10.1