From: Jian Yu Date: Sat, 12 Oct 2024 01:39:43 +0000 (-0700) Subject: LU-18321 tests: skip ost-pools/31 for older MDS X-Git-Tag: 2.16.0-RC3~11 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=38d73ac4d31a4e2c91eb42fdf23c7d5239d9d955;p=fs%2Flustre-release.git 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 --- 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"