Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3f45297
)
Create sparse files unless using one of the gzipped sizes. Waiting for
author
pschwan
<pschwan>
Mon, 29 Apr 2002 22:20:00 +0000
(22:20 +0000)
committer
pschwan
<pschwan>
Mon, 29 Apr 2002 22:20:00 +0000
(22:20 +0000)
6GB dd runs has lost all appeal.
lustre/tests/common.sh
patch
|
blob
|
history
diff --git
a/lustre/tests/common.sh
b/lustre/tests/common.sh
index
0ab797f
..
4bf1505
100644
(file)
--- a/
lustre/tests/common.sh
+++ b/
lustre/tests/common.sh
@@
-67,8
+67,8
@@
new_fs () {
zcat "$EFILE" > $2 || exit -1
sync
else
- echo "creating new filesystem on $2"
- dd if=/dev/zero of=$2 bs=1k
count=$3
1>&2 || exit -1
+ echo "creating new
sparse
filesystem on $2"
+ dd if=/dev/zero of=$2 bs=1k
seek=$3 count=1
1>&2 || exit -1
$MKFS $MKFSOPT -F $2 1>&2 || exit -1
fi
LOOPDEV=`next_loop_dev`