Whamcloud - gitweb
LU-16341 tests: skip sanity-quota/test_14 for old MDS 49/51949/2
authorAlex Deiter <adeiter@tintri.com>
Tue, 15 Aug 2023 18:47:51 +0000 (22:47 +0400)
committerOleg Drokin <green@whamcloud.com>
Thu, 24 Aug 2023 04:36:44 +0000 (04:36 +0000)
Skip sanity-quota test_14 for old MDS missing the fix
for LU-16341 kernel NULL in qmt_site_recalc_cb.

Fixes: d965d63415 ("LU-16341 quota: fix panic in qmt_site_recalc_cb")
Test-Parameters: trivial testlist=sanity-quota env=ONLY=14
Signed-off-by: Alex Deiter <adeiter@tintri.com>
Change-Id: I1a23daa06f0cd306c2b034df18617c2650945b28
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51949
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity-quota.sh

index 42ae950..889a972 100755 (executable)
@@ -2639,6 +2639,9 @@ run_test 13 "Cancel per-ID lock in the LRU list"
 
 test_14()
 {
+       (( MDS1_VERSION >= $(version_code 2.14.0.87) )) ||
+               skip "Need MDS version at least 2.14.0.87"
+
        local qpool="qpool1"
        local tfile1="$DIR/$tdir/$tfile-0"