From: Nathaniel Clark Date: Thu, 28 Mar 2013 19:19:59 +0000 (-0400) Subject: LU-2872 tests: EXCEPT sanity-quota/0+1 for zfs X-Git-Tag: 2.3.65~99 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=1202036818114e3fb2c6d94f1b72427c0001aa00 LU-2872 tests: EXCEPT sanity-quota/0+1 for zfs Drop the failing IO rate for dd in test_0 to account for slow dd performance (LU-2887). EXCEPT test_1 for zfs (since "passing" times have been seen as long as 3400s, and "normal" times are around 2000s which is still very slow). Test-Parameters: testlist=sanity-quota mdtfilesystemtype=zfs mdsfilesystemtype=zfs ostfilesystemtype=zfs Signed-off-by: Nathaniel Clark Change-Id: Ic9a0ba0bed56fa5d2150bb6b4b70fd48e83ce730 Reviewed-on: http://review.whamcloud.com/5876 Reviewed-by: Andreas Dilger Reviewed-by: Jian Yu Tested-by: Hudson Tested-by: Maloo --- diff --git a/lustre/tests/sanity-quota.sh b/lustre/tests/sanity-quota.sh index 41324c7..aaae98a 100644 --- a/lustre/tests/sanity-quota.sh +++ b/lustre/tests/sanity-quota.sh @@ -50,8 +50,8 @@ if [ $(facet_fstype $SINGLEMDS) == ldiskfs ] && \ fi if [ $(facet_fstype $SINGLEMDS) = "zfs" ]; then -# bug number for skipped test: LU-2836 LU-2836 LU-2059 - ALWAYS_EXCEPT="$ALWAYS_EXCEPT 3 6 7d" +# bug number for skipped test: LU-2872 LU-2836 LU-2836 LU-2059 + ALWAYS_EXCEPT="$ALWAYS_EXCEPT 1 3 6 7d" # bug number: LU-2887 ZFS_SLOW="12a" fi @@ -367,8 +367,14 @@ test_quota_performance() { delta=$((etime - stime)) if [ $delta -gt 0 ]; then rate=$((size * 1024 / delta)) - [ $rate -gt 1024 ] || - error "SLOW IO for $TSTUSR (user): $rate KB/sec" + if [ $(facet_fstype $SINGLEMDS) = "zfs" ]; then + # LU-2872 - see LU-2887 for fix + [ $rate -gt 256 ] || + error "SLOW IO for $TSTUSR (user): $rate KB/sec" + else + [ $rate -gt 1024 ] || + error "SLOW IO for $TSTUSR (user): $rate KB/sec" + fi fi rm -f $TESTFILE }