X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Fsanity-quota.sh;h=439488da97ac3863c2d2fc18575a714ccba52e5e;hb=11afef00b6af407b8987076bd4f1ec9bc77eb75e;hp=2976b54fb002880b802abe4ba38437c5a195e768;hpb=c0d30fc79be0788fca19bfa7e3b5048881195fc6;p=fs%2Flustre-release.git diff --git a/lustre/tests/sanity-quota.sh b/lustre/tests/sanity-quota.sh index 2976b54..439488d 100755 --- a/lustre/tests/sanity-quota.sh +++ b/lustre/tests/sanity-quota.sh @@ -1179,6 +1179,15 @@ run_test 7d "Quota reintegration (Transfer index in multiple bulks)" test_7e() { [ "$MDSCOUNT" -lt "2" ] && skip "Required more MDTs" && return + # LU-2435: skip this quota test if underlying zfs version has not + # supported native dnode accounting + [ "$(facet_fstype mds1)" == "zfs" ] && { + local zfs_version=$(do_facet mds1 cat /sys/module/zfs/version) + + [ $(version_code $zfs_version) -lt $(version_code 0.7.0) ] && + skip "requires zfs version at least 0.7.0" && return + } + local ilimit=$((1024 * 2)) # 2k inodes local TESTFILE=$DIR/${tdir}-1/$tfile