[PATCH] ext4/004: limit the amount of data written so test runs faster

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



Previously this test was taking 6-7 minutes, and writing half a
gigabyte of data in the dump/restore test directory.  Change this to
be about 60 megs, and to take ~20 seconds.

Signed-off-by: Theodore Ts'o <tytso@xxxxxxx>
---
 tests/ext4/004 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/ext4/004 b/tests/ext4/004
index b24b627..68f02b6 100755
--- a/tests/ext4/004
+++ b/tests/ext4/004
@@ -49,7 +49,7 @@ restore_dir=$TEST_DIR/dump_restore_dir
 workout()
 {
 	echo "Run fsstress" >> $seqres.full
-	args=`_scale_fsstress_args -z -f creat=5 -f write=20 -f mkdir=5 -n 1000 -p 15 -d $dump_dir`
+	args=`_scale_fsstress_args -z -f creat=5 -f write=20 -f mkdir=5 -n 100 -p 15 -d $dump_dir`
 	echo "fsstress $args" >> $seqres.full
 
 	$FSSTRESS_PROG $args >> $seqres.full 2>&1
-- 
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux