[PATCH] xfstests: filter out imaxpct value in test 096

Eric Sandeen sandeen at sandeen.net
Tue Apr 21 15:02:44 CDT 2009


xfstests: filter out imaxpct value in test 096

On large filesystems, imaxpc drops from 25 to 5

Signed-off-by: Eric Sandeen <sandeen at sandeen.net>
---

iff --git a/096 b/096
index 369d95d..a0560b1 100755
--- a/096
+++ b/096
@@ -55,6 +55,7 @@ _mkfs_filter()
    sed \
 	-e 's/extsz=[0-9][0-9]*[ ]*/extsz=N, /' \
 	-e 's/blocks=[0-9][0-9]*/blocks=N/' \
+	-e 's/imaxpct=[0-9][0-9]*/imaxpct=N/' \
 	-e 's/agsize=[0-9][0-9]*/agsize=N/' \
 	-e 's/agcount=[0-9][0-9]*/agcount=N/' \
         -e 's/swidth=[0-9][0-9]* blks$/&, unwritten=1/' \
diff --git a/096.external b/096.external
index 7d68373..989a7bd 100644
--- a/096.external
+++ b/096.external
@@ -10,7 +10,7 @@ log stripe unit (262656) must be a multiple of the block size (4096)
 log stripe unit (266240 bytes) is too large (maximum is 256KiB)
 log stripe unit adjusted to 32KiB
 meta-data=DEV isize=256    agcount=N, agsize=N blks
-data     =                       bsize=4096   blocks=N, imaxpct=25
+data     =                       bsize=4096   blocks=N, imaxpct=N
          =                       sunit=0      swidth=0 blks, unwritten=1
 naming   =version 2              bsize=4096
 log      =LOG                    bsize=4096   blocks=N, version=2
@@ -21,7 +21,7 @@ realtime =REALTIME               extsz=N, blocks=N, rtextents=N
 # same test but get log stripe from data stripe
 --- mkfs=-l version=2 -d su=266240,sw=1 ---
 meta-data=DEV isize=256    agcount=N, agsize=N blks
-data     =                       bsize=4096   blocks=N, imaxpct=25
+data     =                       bsize=4096   blocks=N, imaxpct=N
          =                       sunit=65     swidth=65 blks, unwritten=1
 naming   =version 2              bsize=4096
 log      =LOG                    bsize=4096   blocks=N, version=2
@@ -32,7 +32,7 @@ realtime =REALTIME               extsz=N, blocks=N, rtextents=N
 # test out data stripe
 --- mkfs=-d su=266240,sw=1 ---
 meta-data=DEV isize=256    agcount=N, agsize=N blks
-data     =                       bsize=4096   blocks=N, imaxpct=25
+data     =                       bsize=4096   blocks=N, imaxpct=N
          =                       sunit=65     swidth=65 blks, unwritten=1
 naming   =version 2              bsize=4096
 log      =LOG                    bsize=4096   blocks=N, version=1
@@ -43,7 +43,7 @@ realtime =REALTIME               extsz=N, blocks=N, rtextents=N
 # test out data stripe the same but using sunit & swidth
 --- mkfs=-d sunit=520,swidth=520 ---
 meta-data=DEV isize=256    agcount=N, agsize=N blks
-data     =                       bsize=4096   blocks=N, imaxpct=25
+data     =                       bsize=4096   blocks=N, imaxpct=N
          =                       sunit=65     swidth=65 blks, unwritten=1
 naming   =version 2              bsize=4096
 log      =LOG                    bsize=4096   blocks=N, version=1
diff --git a/096.internal b/096.internal
index e0e1ee4..cf75037 100644
--- a/096.internal
+++ b/096.internal
@@ -10,7 +10,7 @@ log stripe unit (262656) must be a multiple of the block size (4096)
 log stripe unit (266240 bytes) is too large (maximum is 256KiB)
 log stripe unit adjusted to 32KiB
 meta-data=DEV isize=256    agcount=N, agsize=N blks
-data     =                       bsize=4096   blocks=N, imaxpct=25
+data     =                       bsize=4096   blocks=N, imaxpct=N
          =                       sunit=0      swidth=0 blks, unwritten=1
 naming   =version 2              bsize=4096
 log      =LOG                    bsize=4096   blocks=N, version=2
@@ -23,7 +23,7 @@ realtime =REALTIME               extsz=N, blocks=N, rtextents=N
 log stripe unit (266240 bytes) is too large (maximum is 256KiB)
 log stripe unit adjusted to 32KiB
 meta-data=DEV isize=256    agcount=N, agsize=N blks
-data     =                       bsize=4096   blocks=N, imaxpct=25
+data     =                       bsize=4096   blocks=N, imaxpct=N
          =                       sunit=65     swidth=65 blks, unwritten=1
 naming   =version 2              bsize=4096
 log      =LOG                    bsize=4096   blocks=N, version=2
@@ -34,7 +34,7 @@ realtime =REALTIME               extsz=N, blocks=N, rtextents=N
 # test out data stripe
 --- mkfs=-l version=1 -d su=266240,sw=1 ---
 meta-data=DEV isize=256    agcount=N, agsize=N blks
-data     =                       bsize=4096   blocks=N, imaxpct=25
+data     =                       bsize=4096   blocks=N, imaxpct=N
          =                       sunit=65     swidth=65 blks, unwritten=1
 naming   =version 2              bsize=4096
 log      =LOG                    bsize=4096   blocks=N, version=1
@@ -45,7 +45,7 @@ realtime =REALTIME               extsz=N, blocks=N, rtextents=N
 # test out data stripe the same but using sunit & swidth
 --- mkfs=-l version=1 -d sunit=520,swidth=520 ---
 meta-data=DEV isize=256    agcount=N, agsize=N blks
-data     =                       bsize=4096   blocks=N, imaxpct=25
+data     =                       bsize=4096   blocks=N, imaxpct=N
          =                       sunit=65     swidth=65 blks, unwritten=1
 naming   =version 2              bsize=4096
 log      =LOG                    bsize=4096   blocks=N, version=1




More information about the xfs mailing list