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-625 test: sanityn.sh test file size should be dynamic
[fs/lustre-release.git]
/
lustre
/
tests
/
sanityn.sh
diff --git
a/lustre/tests/sanityn.sh
b/lustre/tests/sanityn.sh
index
1978beb
..
ebc82a1
100644
(file)
--- a/
lustre/tests/sanityn.sh
+++ b/
lustre/tests/sanityn.sh
@@
-630,7
+630,8
@@
test_32a() { # bug 11270
enable_lockless_truncate 1
rm -f $DIR1/$tfile
lfs setstripe -c -1 $DIR1/$tfile
enable_lockless_truncate 1
rm -f $DIR1/$tfile
lfs setstripe -c -1 $DIR1/$tfile
- dd if=/dev/zero of=$DIR1/$tfile count=10 bs=1M > /dev/null 2>&1
+ dd if=/dev/zero of=$DIR1/$tfile count=$OSTCOUNT bs=$STRIPE_BYTES > \
+ /dev/null 2>&1
clear_osc_stats
log "checking cached lockless truncate"
clear_osc_stats
log "checking cached lockless truncate"