xfs
[Top] [All Lists]

Re: qa 166 failure on f8 kernel

To: David Chinner <dgc@xxxxxxx>
Subject: Re: qa 166 failure on f8 kernel
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Tue, 07 Aug 2007 23:28:48 -0500
Cc: xfs-oss <xfs@xxxxxxxxxxx>
In-reply-to: <20070808041920.GK52011508@xxxxxxx>
References: <46B91EBA.10407@xxxxxxxxxxx> <20070808025615.GH52011508@xxxxxxx> <46B9316A.40508@xxxxxxxxxxx> <20070808040804.GJ52011508@xxxxxxx> <46B94259.6060309@xxxxxxxxxxx> <20070808041920.GK52011508@xxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (Macintosh/20070728)
David Chinner wrote:

> That could be done, but will break on 64k page size machines ;)
> 
> Perhaps the filter needs to use `getconf PAGE_SIZE` to filter the
> output down:
> 
> ia64:
> 
> % getconf PAGE_SIZE
> 16384
> 
> x86_64:
> 
> % getconf PAGE_SIZE
> 4096
> 
> So the written extent sizes are output as a multiple of
> page size rather than basic blocks....


yeah, computing all the numbers for the filter seemed nasty.

Maybe just a dumbed-down filter that expects

written
unwritten
written
unwritten
written

would be sufficient for this test.

--- 166.orig    2007-08-07 23:19:33.391317217 -0500
+++ 166 2007-08-07 23:21:11.111409407 -0500
@@ -31,9 +31,9 @@
 {
        $AWK_PROG '/[0-9]/ {
                if ($7)
-                       print $1, $2, "XX..YY", "AG", "(AA..BB)", $6, $7;
+                       print $7
                else
-                       print $1, $2, "XX..YY", "AG", "(AA..BB)", $6;
+                       print "no flags"
        }'
 }

--- 166.out.orig        2007-08-07 23:21:25.299244961 -0500
+++ 166.out     2007-08-07 23:21:45.706131763 -0500
@@ -1,6 +1,6 @@
 QA output created by 166
-0: [0..31]: XX..YY AG (AA..BB) 32
-1: [32..127]: XX..YY AG (AA..BB) 96 10000
-2: [128..159]: XX..YY AG (AA..BB) 32
-3: [160..223]: XX..YY AG (AA..BB) 64 10000
-4: [224..255]: XX..YY AG (AA..BB) 32
+no flags
+10000
+no flags
+10000
+no flags


-Eric


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