From: Timothy Day Date: Tue, 23 Jan 2024 03:33:27 +0000 (+0000) Subject: LU-17216 ofd: skip sanity/70a on old OSTs X-Git-Tag: 2.15.61~14 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=refs%2Fchanges%2F70%2F53770%2F4;p=fs%2Flustre-release.git LU-17216 ofd: skip sanity/70a on old OSTs OSTs older than 2.15.59 won't have enable_health_write. So skip the sanity/70a that requires it. Test-Parameters: trivial Test-Parameters: testlist=sanity clientversion=2.15 env=ONLY=70a,ONLY_REPEAT=10 Test-Parameters: testlist=sanity serverversion=2.15 env=ONLY=70a,ONLY_REPEAT=10 Fixes: e383791 ("LU-17216 ofd: make enable_health_write tunable") Signed-off-by: Timothy Day Change-Id: I320f6911e7b7064d49761a022c462b7c20f3a2e1 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/53770 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Alex Deiter --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index b15c2ca..f396747 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -10461,8 +10461,9 @@ test_69() { run_test 69 "verify oa2dentry return -ENOENT doesn't LBUG ======" test_70a() { - # Perform a really simple test of health write - # and health check + # Perform a really simple test of health write and health check + (( $OST1_VERSION >= $(version_code 2.15.59) )) || + skip "OSTs < 2.15.59 doesn't have enable_health_write" local orig_value="$(do_facet ost1 $LCTL get_param -n enable_health_write)"