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
b=22766 cascading_rw: take lmm_stripe_count returned by ioctl(LL_IOC_LOV_SETSTRIPE)
[fs/lustre-release.git]
/
lustre
/
tests
/
racer
/
file_create.sh
diff --git
a/lustre/tests/racer/file_create.sh
b/lustre/tests/racer/file_create.sh
index
d94502c
..
70ba0fd
100755
(executable)
--- a/
lustre/tests/racer/file_create.sh
+++ b/
lustre/tests/racer/file_create.sh
@@
-5,13
+5,13
@@
MAX=$2
MAX_MB=256
create() {
MAX_MB=256
create() {
- SIZE=$((
$RANDOM*MAX_MB/
32))
+ SIZE=$((
RANDOM * MAX_MB /
32))
echo "file_create: SIZE=$SIZE"
dd if=/dev/zero of=$DIR/$file bs=1k count=$SIZE
}
while /bin/true ; do
echo "file_create: SIZE=$SIZE"
dd if=/dev/zero of=$DIR/$file bs=1k count=$SIZE
}
while /bin/true ; do
- file=$((
$RANDOM%$
MAX))
+ file=$((
RANDOM %
MAX))
create 2> /dev/null
done
create 2> /dev/null
done