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-8738 tests: ladvise dontneed test write to single OST
[fs/lustre-release.git]
/
lustre
/
tests
/
sanity.sh
diff --git
a/lustre/tests/sanity.sh
b/lustre/tests/sanity.sh
index
6222a30
..
c24dd3f
100755
(executable)
--- a/
lustre/tests/sanity.sh
+++ b/
lustre/tests/sanity.sh
@@
-14443,8
+14443,6
@@
facet_meminfo() {
}
test_255b() {
}
test_255b() {
- lfs setstripe -c -1 -i 0 $DIR/$tfile
-
ladvise_no_type dontneed $DIR/$tfile &&
skip "dontneed ladvise is not supported" && return
ladvise_no_type dontneed $DIR/$tfile &&
skip "dontneed ladvise is not supported" && return
@@
-14457,6
+14455,8
@@
test_255b() {
[ "$(facet_fstype ost1)" = "zfs" ] &&
skip "zfs-osd does not support dontneed advice" && return
[ "$(facet_fstype ost1)" = "zfs" ] &&
skip "zfs-osd does not support dontneed advice" && return
+ lfs setstripe -c 1 -i 0 $DIR/$tfile
+
local size_mb=100
local size=$((size_mb * 1048576))
# In order to prevent disturbance of other processes, only check 3/4
local size_mb=100
local size=$((size_mb * 1048576))
# In order to prevent disturbance of other processes, only check 3/4