From 7fe677f249bfa4632e88f1c19bfba9e61ba88e17 Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Wed, 26 Mar 2025 08:58:04 -0600 Subject: [PATCH] LU-18748 tests: fix sanity/56c with flash devices Fix sanity test_56c to fetch the initial "lfs df" state with "-v" in case some devices are flash ('f') at the start of the test. Test-Parameters: trivial Fixes: 0523ed8625 ("LU-18748 class: print statfs_state for OBD devices") Signed-off-by: Andreas Dilger Change-Id: I3a710c876a0918b20f9bbd7e13cf4b2b1e500c1e Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58543 Reviewed-by: Alex Zhuravlev Reviewed-by: Arshad Hussain Reviewed-by: Oleg Drokin Tested-by: jenkins Tested-by: Maloo --- lustre/tests/sanity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 6b32d17..1b93b13 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -6884,7 +6884,7 @@ test_56c() { local ost_idx=0 local ost_name=$(ostname_from_index $ost_idx) - local old_status=$(ost_dev_status $ost_idx) + local old_status=$(ost_dev_status $ost_idx $MOUNT -v) local inst=$(lfs getname -i $DIR) local state="osc.$ost_name-osc-$inst.statfs_state" local old_state=$($LCTL get_param -n $state) -- 1.8.3.1