mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
lszfcp: add missing fallback marker for non-good fc_host port_state
An online CCW device, which is available and not defunct and not failed, can have an undesired fc_host port_state, which is not Online and does not have the special case Linkdown. Indicate such unexpected state. Complements v2.9.0 commit4036e80b26("lszfcp: add new output marker for non-good FCP devices (hosts)") v2.9.0 commitbe7b854969("lszfcp: also mark FCP devices (hosts) that are not available") v2.18.0 commit45e3f016f4("lszfcp: add linkdown case to host marker of extended output") Reviewed-by: Benjamin Block <bblock@linux.ibm.com> Signed-off-by: Steffen Maier <maier@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
This commit is contained in:
committed by
Steffen Eiden
parent
b378ff788e
commit
464d4d2842
@@ -219,6 +219,8 @@ $(readlink -e $HOST_PATH)/-"
|
||||
HOSTMARKER=" failed"
|
||||
elif [ "$AVAILABILITY" != "good" ]; then
|
||||
HOSTMARKER=" NotAvailable"
|
||||
elif [ "$PORT_STATE" != "Online" ]; then
|
||||
HOSTMARKER=" NotOnline"
|
||||
fi
|
||||
fi
|
||||
if [ $VERBOSITY -eq 0 ]; then
|
||||
|
||||
Reference in New Issue
Block a user