083 make variable filesize as size in bytes

The first argument of _scratch_mkfs_sized() should be file system size
in bytes, so '100m' is not a valid number, and the 'expr' expression in
_scratch_mkfs_sized() complains 'non-numeric argument' about it.

Signed-off-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
Eryu Guan
2011-11-04 10:38:03 +08:00
committed by Christoph Hellwig
parent c98a330cc3
commit 59974983bf
+1 -1
View File
@@ -91,7 +91,7 @@ workout()
echo "*** test out-of-space handling for random write operations"
filesize=100m
filesize=`expr 100 \* 1024 \* 1024`
agcount=6
numprocs=15
numops=1500