From: Shaun Tancheff Date: Tue, 22 Feb 2022 07:28:50 +0000 (-0600) Subject: LU-15576 osp: Interop skip sanity test 823 for MDS < 2.14.56 X-Git-Tag: 2.15.0-RC3~33 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=5da859e262dd5e93bfeb2bfa1366a9e20395d3f4;p=fs%2Flustre-release.git LU-15576 osp: Interop skip sanity test 823 for MDS < 2.14.56 Prior to v2_14_55-29-g06e586016d setting create_count greater than the maximum returned -ERANGE. During interop testing skip sanity/823 for MDS older than 2.14.56. Test-Parameters: trivial serverversion=2.14.0 testlist=sanity env=ONLY=823 Fixes: 06e586016d3a ("LU-13941 osp: Silently lower requested create_count to maximum") Signed-off-by: Shaun Tancheff Change-Id: Ie79617deea047b2a846f696473b9c2b5681953be Reviewed-on: https://review.whamcloud.com/46567 Reviewed-by: Andreas Dilger Tested-by: jenkins Reviewed-by: Arshad Hussain Tested-by: Maloo --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index bc0d904..f4eea8e 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -27995,6 +27995,9 @@ test_823() { local p="$TMP/$TESTSUITE-$TESTNAME.parameters" local OST_MAX_PRECREATE=20000 + (( $MDS1_VERSION >= $(version_code 2.14.56) )) || + skip "Need MDS version at least 2.14.56" + save_lustre_params mds1 \ "osp.$FSNAME-OST*-osc-MDT0000.max_create_count" > $p do_facet $SINGLEMDS "$LCTL set_param -n \