Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-2872 tests: EXCEPT sanity-quota/0+1 for zfs
[fs/lustre-release.git]
/
lustre
/
tests
/
sanity-quota.sh
diff --git
a/lustre/tests/sanity-quota.sh
b/lustre/tests/sanity-quota.sh
index
41324c7
..
aaae98a
100644
(file)
--- 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
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-28
72 LU-28
36 LU-2836 LU-2059
+ ALWAYS_EXCEPT="$ALWAYS_EXCEPT
1
3 6 7d"
# bug number: LU-2887
ZFS_SLOW="12a"
fi
# 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))
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
}
fi
rm -f $TESTFILE
}