xfs
[Top] [All Lists]

[PATCH 05/12] xfstests: freeze fsstress options for 117'th

To: linux-fsdevel@xxxxxxxxxxxxxxx
Subject: [PATCH 05/12] xfstests: freeze fsstress options for 117'th
From: Dmitry Monakhov <dmonakhov@xxxxxxxxxx>
Date: Thu, 3 Nov 2011 18:24:54 +0400
Cc: xfs@xxxxxxxxxxx, hch@xxxxxx, aelder@xxxxxxx, tytso@xxxxxxx, Dmitry Monakhov <dmonakhov@xxxxxxxxxx>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=U3+dMW0fjq5f1ucH1GyO6/mhttD+2jzYiQzZdxNemvo=; b=S0DKuYkFUw9+Fjppf7h9bZf9POCuBPz9tjWZWtusrTc25USjLyQmD4rzxuyFqeucGh U1FV8mPIs5hrrX78pZh0eT1Le9lL6kEI4xVEJdreIRygFDp25Yb2TLK8miZtKWgh0Utv H+nLt75Rzbc7CUyLvzkFSgt5x2HyCZkLtTEqA=
In-reply-to: <1320330301-2682-1-git-send-email-dmonakhov@xxxxxxxxxx>
References: <1320330301-2682-1-git-send-email-dmonakhov@xxxxxxxxxx>
Sender: Dmitry Monakhov <dmonlist@xxxxxxxxx>
This is regression tescase for explicit combination of seed+fs_opts.
Let's hardcode all options to prevent interactions with fsstress
changes in future.

Signed-off-by: Dmitry Monakhov <dmonakhov@xxxxxxxxxx>
---
 117 |   39 ++++++++++++++++++++++++++++-----------
 1 files changed, 28 insertions(+), 11 deletions(-)

diff --git a/117 b/117
index edec157..2e3f658 100755
--- a/117
+++ b/117
@@ -33,8 +33,34 @@ tmp=/tmp/$$
 status=1       # failure is the default!
 trap "_cleanup; exit \$status" 0 1 2 3 15
 
-# seed for fsstress known to cause curruptions
+# seed and options for fsstress known to cause curruptions
 seed=1122413794
+fss_ops=" -z \
+    -f attr_remove=100 \
+    -f attr_set=100 \
+    -f chown=3 \
+    -f creat=4 \
+    -f dread=4 \
+    -f dwrite=4 \
+    -f fdatasync=1 \
+    -f fsync=1 \
+    -f getdents=1 \
+    -f link=1 \
+    -f mkdir=2 \
+    -f mknod=2 \
+    -f read=1 \
+    -f readlink=1 \
+    -f rename=2 \
+    -f rmdir=1 \
+    -f setxattr=1 \
+    -f stat=1 \
+    -f symlink=2 \
+    -f sync=1 \
+    -f truncate=2 \
+    -f unlink=1 \
+    -f write=4 \
+    -s $seed \
+    -m 31 -n 1000 -p 1"
 
 ITERATIONS=10
 
@@ -76,16 +102,7 @@ while [ $i -lt $ITERATIONS ]; do
     echo fsstress iteration: $i | tee -a $seq.full
     $FSSTRESS_PROG \
        -d $SCRATCH_MNT/fsstress \
-       -f allocsp=0 \
-       -f freesp=0 \
-       -f bulkstat=0 \
-       -f bulkstat1=0 \
-       -f resvsp=0 \
-       -f unresvsp=0 \
-       -f attr_set=100 \
-       -f attr_remove=100 \
-        -s $seed \
-       -p 1 -n 1000 -S c >>$seq.full 2>&1
+       $fss_ops -S c >>$seq.full 2>&1
 
     let i=$i+1
 done
-- 
1.7.1

<Prev in Thread] Current Thread [Next in Thread>