From 38d73ac4d31a4e2c91eb42fdf23c7d5239d9d955 Mon Sep 17 00:00:00 2001 From: Jian Yu Date: Fri, 11 Oct 2024 18:39:43 -0700 Subject: [PATCH] LU-18321 tests: skip ost-pools/31 for older MDS Skip the loop spilling testing in ost-pools test 31 for MDS < 2.15.50.150 since the test depends on changes made to the MDS code on the server. Test-Parameters: trivial testlist=ost-pools env=ONLY=31 \ serverversion=2.15.5 Change-Id: I4ad2ded8073eca55363fe60cc49c580ca7d983ae Fixes: c9c842d678 ("LU-15043 lod: check for spilling loops") Signed-off-by: Jian Yu Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56657 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Sarah Liu Reviewed-by: Oleg Drokin --- lustre/tests/ost-pools.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lustre/tests/ost-pools.sh b/lustre/tests/ost-pools.sh index 12b0ff6..6825390 100755 --- a/lustre/tests/ost-pools.sh +++ b/lustre/tests/ost-pools.sh @@ -1884,6 +1884,10 @@ test_31() { } # check for loops + (( MDS1_VERSION >= $(version_code 2.15.50.150) )) || { + echo "skip loop spilling testing for MDS < 2.15.50.150" + return 0 + } # reset all loop spilling $do_mdts set_param lod.*.pool.*.spill_threshold_pct="0" -- 1.8.3.1