public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* qa 166 failure on f8 kernel
@ 2007-08-08  1:39 Eric Sandeen
  2007-08-08  2:56 ` David Chinner
  2007-08-08  4:19 ` Barry Naujok
  0 siblings, 2 replies; 16+ messages in thread
From: Eric Sandeen @ 2007-08-08  1:39 UTC (permalink / raw)
  To: xfs-oss

Posting this just in case it rings any bells, though I plan to
investigate...

[root@inode xfstests]# ./check  166
FSTYP         -- xfs (non-debug)
PLATFORM      -- Linux/x86_64 inode 2.6.23-0.71.rc2.fc8
MKFS_OPTIONS  -- -f -bsize=4096 /dev/sdb6
MOUNT_OPTIONS -- /dev/sdb6 /mnt/sdb6

166      - output mismatch (see 166.out.bad)
2,6c2,7
< 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
---
> /mnt/sdb6/test_file:  XX..YY AG (AA..BB)
> 0: [0..7]: XX..YY AG (AA..BB) 8
> 1: [8..127]: XX..YY AG (AA..BB) 120 10000
> 2: [128..135]: XX..YY AG (AA..BB) 8
> 3: [136..247]: XX..YY AG (AA..BB) 112 10000
> 4: [248..255]: XX..YY AG (AA..BB) 8
Failures: 166
Failed 1 of 1 tests
[root@inode xfstests]# uname -a
Linux inode.lab.msp.redhat.com 2.6.23-0.71.rc2.fc8 #1 SMP Sat Aug 4
01:21:06 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux

-Eric

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: qa 166 failure on f8 kernel
  2007-08-08  1:39 qa 166 failure on f8 kernel Eric Sandeen
@ 2007-08-08  2:56 ` David Chinner
  2007-08-08  2:58   ` Eric Sandeen
  2007-08-08  4:13   ` Alex Elder
  2007-08-08  4:19 ` Barry Naujok
  1 sibling, 2 replies; 16+ messages in thread
From: David Chinner @ 2007-08-08  2:56 UTC (permalink / raw)
  To: Eric Sandeen; +Cc: xfs-oss

On Tue, Aug 07, 2007 at 08:39:06PM -0500, Eric Sandeen wrote:
> Posting this just in case it rings any bells, though I plan to
> investigate...
> 
> [root@inode xfstests]# ./check  166
> FSTYP         -- xfs (non-debug)
> PLATFORM      -- Linux/x86_64 inode 2.6.23-0.71.rc2.fc8
> MKFS_OPTIONS  -- -f -bsize=4096 /dev/sdb6
> MOUNT_OPTIONS -- /dev/sdb6 /mnt/sdb6
> 
> 166      - output mismatch (see 166.out.bad)
> 2,6c2,7
> < 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
> ---
> > /mnt/sdb6/test_file:  XX..YY AG (AA..BB)
> > 0: [0..7]: XX..YY AG (AA..BB) 8
> > 1: [8..127]: XX..YY AG (AA..BB) 120 10000
> > 2: [128..135]: XX..YY AG (AA..BB) 8
> > 3: [136..247]: XX..YY AG (AA..BB) 112 10000
> > 4: [248..255]: XX..YY AG (AA..BB) 8

When you post the failure, someone will say, "Duh, that's obvious".

Well: Duh! That's obvious. ;)

You've got 3x4k written blocks in the file which is *correct*.
There's nothing wrong with the kernel code. It's just that the test
is expecting 3x16k extents to be marked written.

See the problem yet?

mmap dirties entire pages. page size differs between platforms -
ia64 = 16k, x86 = 4k - so the size of the extent allocated is
different. Guess what platform I wrote the test on and use as my
primary platform?

The output needs better filtering, methinks.

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: qa 166 failure on f8 kernel
  2007-08-08  2:56 ` David Chinner
@ 2007-08-08  2:58   ` Eric Sandeen
  2007-08-08  4:08     ` David Chinner
  2007-08-08  4:13   ` Alex Elder
  1 sibling, 1 reply; 16+ messages in thread
From: Eric Sandeen @ 2007-08-08  2:58 UTC (permalink / raw)
  To: David Chinner; +Cc: xfs-oss

David Chinner wrote:
> On Tue, Aug 07, 2007 at 08:39:06PM -0500, Eric Sandeen wrote:
>> Posting this just in case it rings any bells, though I plan to
>> investigate...
>>
>> [root@inode xfstests]# ./check  166
>> FSTYP         -- xfs (non-debug)
>> PLATFORM      -- Linux/x86_64 inode 2.6.23-0.71.rc2.fc8
>> MKFS_OPTIONS  -- -f -bsize=4096 /dev/sdb6
>> MOUNT_OPTIONS -- /dev/sdb6 /mnt/sdb6
>>
>> 166      - output mismatch (see 166.out.bad)
>> 2,6c2,7
>> < 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
>> ---
>>> /mnt/sdb6/test_file:  XX..YY AG (AA..BB)
>>> 0: [0..7]: XX..YY AG (AA..BB) 8
>>> 1: [8..127]: XX..YY AG (AA..BB) 120 10000
>>> 2: [128..135]: XX..YY AG (AA..BB) 8
>>> 3: [136..247]: XX..YY AG (AA..BB) 112 10000
>>> 4: [248..255]: XX..YY AG (AA..BB) 8
> 
> When you post the failure, someone will say, "Duh, that's obvious".

fine, fine ;-)

> Well: Duh! That's obvious. ;)
> 
> You've got 3x4k written blocks in the file which is *correct*.
> There's nothing wrong with the kernel code. It's just that the test
> is expecting 3x16k extents to be marked written.
> 
> See the problem yet?
> 
> mmap dirties entire pages. page size differs between platforms -
> ia64 = 16k, x86 = 4k - so the size of the extent allocated is
> different. Guess what platform I wrote the test on and use as my
> primary platform?
> 
> The output needs better filtering, methinks.

yeah, figured it had something to do w/ the ia64 weenies when I saw the
32 vs. 8, factor of 4 ... fine, fine, my bad.  :)

Thanks,

-Eric

> Cheers,
> 
> Dave.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: qa 166 failure on f8 kernel
  2007-08-08  2:58   ` Eric Sandeen
@ 2007-08-08  4:08     ` David Chinner
  2007-08-08  4:11       ` Eric Sandeen
  2007-08-08 13:13       ` Christoph Hellwig
  0 siblings, 2 replies; 16+ messages in thread
From: David Chinner @ 2007-08-08  4:08 UTC (permalink / raw)
  To: Eric Sandeen; +Cc: David Chinner, xfs-oss

On Tue, Aug 07, 2007 at 09:58:50PM -0500, Eric Sandeen wrote:
> yeah, figured it had something to do w/ the ia64 weenies when I saw the
> 32 vs. 8, factor of 4 ... fine, fine, my bad.  :)

No, not your bad. Mine if anyones because I wrote the test.

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: qa 166 failure on f8 kernel
  2007-08-08  4:08     ` David Chinner
@ 2007-08-08  4:11       ` Eric Sandeen
  2007-08-08  4:16         ` Eric Sandeen
  2007-08-08  4:19         ` David Chinner
  2007-08-08 13:13       ` Christoph Hellwig
  1 sibling, 2 replies; 16+ messages in thread
From: Eric Sandeen @ 2007-08-08  4:11 UTC (permalink / raw)
  To: David Chinner; +Cc: xfs-oss

David Chinner wrote:

> On Tue, Aug 07, 2007 at 09:58:50PM -0500, Eric Sandeen wrote:
>   
>> yeah, figured it had something to do w/ the ia64 weenies when I saw the
>> 32 vs. 8, factor of 4 ... fine, fine, my bad.  :)
>>     
>
> No, not your bad. Mine if anyones because I wrote the test.
>
> Cheers,
>
> Dave.
>   
Well, I was going to look at it more closely before I sent it off :)

What do you think of a patch like this, to munmap 16k chunks regardless
of page size:


--- src/unwritten_mmap.c.orig	2007-08-07 22:53:08.962031839 -0500
+++ src/unwritten_mmap.c	2007-08-07 23:02:05.939112618 -0500
@@ -12,6 +12,7 @@
  */
 int main(int argc, char **argv) {
 	unsigned long long o;
+	int minsize;
 	int fd, i;
 	struct xfs_flock64 space;
 	unsigned char *buf;
@@ -23,6 +24,13 @@
 
 	errno = 0;
 	o = strtoull(argv[1], NULL, 0);
+
+	minsize = 3*16384; /* 3 ia64 pages */
+	if (o < minsize) {
+		fprintf(stderr, "count must be at least %d\n", minsize);
+		exit(1);
+	}
+
 	if (errno) {
 		perror("strtoull");
 		exit(errno);
@@ -55,9 +63,9 @@
 			perror("mmap()");
 			exit(5);
 		} else {
+			memset(buf, 0, 16384);
+			memset(buf+o/2, 0, 16384);
+			memset(buf+o-16384, 0, 16384);
 			munmap(buf, o);
 		}

-Eric
 

^ permalink raw reply	[flat|nested] 16+ messages in thread

* RE: qa 166 failure on f8 kernel
  2007-08-08  2:56 ` David Chinner
  2007-08-08  2:58   ` Eric Sandeen
@ 2007-08-08  4:13   ` Alex Elder
       [not found]     ` <D59801BCA402F5418C040937230AF7E00B9A8E@mtv-amer002e--3.americas.sgi.c om>
  1 sibling, 1 reply; 16+ messages in thread
From: Alex Elder @ 2007-08-08  4:13 UTC (permalink / raw)
  To: David Chinner, Eric Sandeen; +Cc: xfs-oss

> From: xfs-bounce@oss.sgi.com 
> [mailto:xfs-bounce@oss.sgi.com]On Behalf Of
> David Chinner
> Sent: Tuesday, August 07, 2007 9:56 PM
> To: Eric Sandeen
> Cc: xfs-oss
> Subject: Re: qa 166 failure on f8 kernel
...
> mmap dirties entire pages. page size differs between platforms -
> ia64 = 16k, x86 = 4k - so the size of the extent allocated is
> different. Guess what platform I wrote the test on and use as my
> primary platform?
> 
> The output needs better filtering, methinks.

Could the test be changed so the output is pagesize independent
rather than filtering the output?  Or maybe the test should
use a buffer size that's the LCM of all supported page sizes.

I'm not actually familiar with the test, so forgive me if I'm
way off...

					-Alex

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: qa 166 failure on f8 kernel
  2007-08-08  4:11       ` Eric Sandeen
@ 2007-08-08  4:16         ` Eric Sandeen
  2007-08-08  4:19         ` David Chinner
  1 sibling, 0 replies; 16+ messages in thread
From: Eric Sandeen @ 2007-08-08  4:16 UTC (permalink / raw)
  To: David Chinner; +Cc: xfs-oss

Eric Sandeen wrote:

> David Chinner wrote:
>
>   
>> On Tue, Aug 07, 2007 at 09:58:50PM -0500, Eric Sandeen wrote:
>>   
>>     
>>> yeah, figured it had something to do w/ the ia64 weenies when I saw the
>>> 32 vs. 8, factor of 4 ... fine, fine, my bad.  :)
>>>     
>>>       
>> No, not your bad. Mine if anyones because I wrote the test.
>>
>> Cheers,
>>
>> Dave.
>>   
>>     
> Well, I was going to look at it more closely before I sent it off :)
>
> What do you think of a patch like this, to munmap 16k chunks regardless
> of page size:
>   
Er, bad patch-ninja-boy, don't hand-edit  :)



--- src/unwritten_mmap.c.orig	2007-08-07 22:53:08.962031839 -0500
+++ src/unwritten_mmap.c	2007-08-07 23:04:14.230540957 -0500
@@ -12,6 +12,7 @@
  */
 int main(int argc, char **argv) {
 	unsigned long long o;
+	int minsize;
 	int fd, i;
 	struct xfs_flock64 space;
 	unsigned char *buf;
@@ -23,6 +24,13 @@
 
 	errno = 0;
 	o = strtoull(argv[1], NULL, 0);
+
+	minsize = 3*16384; /* 3 ia64 pages */
+	if (o < minsize) {
+		fprintf(stderr, "count must be at least %d\n", minsize);
+		exit(1);
+	}
+
 	if (errno) {
 		perror("strtoull");
 		exit(errno);
@@ -55,9 +63,9 @@
 			perror("mmap()");
 			exit(5);
 		} else {
-			buf[o-1] = 0;
-			buf[o/2] = 0;
-			buf[0] = 0;
+			memset(buf, 0, 16384);
+			memset(buf+o/2, 0, 16384);
+			memset(buf+o-16384, 0, 16384);
 			munmap(buf, o);
 		}

 

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: qa 166 failure on f8 kernel
  2007-08-08  4:19 ` Barry Naujok
@ 2007-08-08  4:18   ` Eric Sandeen
  0 siblings, 0 replies; 16+ messages in thread
From: Eric Sandeen @ 2007-08-08  4:18 UTC (permalink / raw)
  To: Barry Naujok; +Cc: xfs-oss

Barry Naujok wrote:
> On Wed, 08 Aug 2007 11:39:06 +1000, Eric Sandeen <sandeen@sandeen.net>  
> wrote:
> 
>> Posting this just in case it rings any bells, though I plan to
>> investigate...
>>
>> [root@inode xfstests]# ./check  166
>> FSTYP         -- xfs (non-debug)
>> PLATFORM      -- Linux/x86_64 inode 2.6.23-0.71.rc2.fc8
>> MKFS_OPTIONS  -- -f -bsize=4096 /dev/sdb6
>> MOUNT_OPTIONS -- /dev/sdb6 /mnt/sdb6
>>
>> 166      - output mismatch (see 166.out.bad)
>> 2,6c2,7
>> < 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
>> ---
>>> /mnt/sdb6/test_file:  XX..YY AG (AA..BB)
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> I suspect this line is appearing in the output due to a number
> in the mountpoint. I think the _filter_blocks() is only
> extracting lines with numbers in it.

Bingo.  Yep, changing it to /mnt/foo, plus my change to the test,
passes.  thanks!

-Eric

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: qa 166 failure on f8 kernel
  2007-08-08  1:39 qa 166 failure on f8 kernel Eric Sandeen
  2007-08-08  2:56 ` David Chinner
@ 2007-08-08  4:19 ` Barry Naujok
  2007-08-08  4:18   ` Eric Sandeen
  1 sibling, 1 reply; 16+ messages in thread
From: Barry Naujok @ 2007-08-08  4:19 UTC (permalink / raw)
  To: Eric Sandeen, xfs-oss

On Wed, 08 Aug 2007 11:39:06 +1000, Eric Sandeen <sandeen@sandeen.net>  
wrote:

> Posting this just in case it rings any bells, though I plan to
> investigate...
>
> [root@inode xfstests]# ./check  166
> FSTYP         -- xfs (non-debug)
> PLATFORM      -- Linux/x86_64 inode 2.6.23-0.71.rc2.fc8
> MKFS_OPTIONS  -- -f -bsize=4096 /dev/sdb6
> MOUNT_OPTIONS -- /dev/sdb6 /mnt/sdb6
>
> 166      - output mismatch (see 166.out.bad)
> 2,6c2,7
> < 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
> ---
>> /mnt/sdb6/test_file:  XX..YY AG (AA..BB)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I suspect this line is appearing in the output due to a number
in the mountpoint. I think the _filter_blocks() is only
extracting lines with numbers in it.

>> 0: [0..7]: XX..YY AG (AA..BB) 8
>> 1: [8..127]: XX..YY AG (AA..BB) 120 10000
>> 2: [128..135]: XX..YY AG (AA..BB) 8
>> 3: [136..247]: XX..YY AG (AA..BB) 112 10000
>> 4: [248..255]: XX..YY AG (AA..BB) 8
> Failures: 166
> Failed 1 of 1 tests
> [root@inode xfstests]# uname -a
> Linux inode.lab.msp.redhat.com 2.6.23-0.71.rc2.fc8 #1 SMP Sat Aug 4
> 01:21:06 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
>
> -Eric
>
>

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: qa 166 failure on f8 kernel
  2007-08-08  4:11       ` Eric Sandeen
  2007-08-08  4:16         ` Eric Sandeen
@ 2007-08-08  4:19         ` David Chinner
  2007-08-08  4:28           ` Eric Sandeen
  1 sibling, 1 reply; 16+ messages in thread
From: David Chinner @ 2007-08-08  4:19 UTC (permalink / raw)
  To: Eric Sandeen; +Cc: David Chinner, xfs-oss

On Tue, Aug 07, 2007 at 11:11:05PM -0500, Eric Sandeen wrote:
> David Chinner wrote:
> 
> > On Tue, Aug 07, 2007 at 09:58:50PM -0500, Eric Sandeen wrote:
> >   
> >> yeah, figured it had something to do w/ the ia64 weenies when I saw the
> >> 32 vs. 8, factor of 4 ... fine, fine, my bad.  :)
> >>     
> >
> > No, not your bad. Mine if anyones because I wrote the test.
> >
> > Cheers,
> >
> > Dave.
> >   
> Well, I was going to look at it more closely before I sent it off :)
> 
> What do you think of a patch like this, to munmap 16k chunks regardless
> of page size:

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....

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: qa 166 failure on f8 kernel
  2007-08-08  4:19         ` David Chinner
@ 2007-08-08  4:28           ` Eric Sandeen
  2007-08-08  4:57             ` Barry Naujok
  0 siblings, 1 reply; 16+ messages in thread
From: Eric Sandeen @ 2007-08-08  4:28 UTC (permalink / raw)
  To: David Chinner; +Cc: xfs-oss

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

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: qa 166 failure on f8 kernel
  2007-08-08  4:28           ` Eric Sandeen
@ 2007-08-08  4:57             ` Barry Naujok
  2007-08-08  5:00               ` Eric Sandeen
  0 siblings, 1 reply; 16+ messages in thread
From: Barry Naujok @ 2007-08-08  4:57 UTC (permalink / raw)
  To: Eric Sandeen, David Chinner; +Cc: xfs-oss

On Wed, 08 Aug 2007 14:28:48 +1000, Eric Sandeen <sandeen@sandeen.net>  
wrote:

> 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
>

Instead of "no flags", how about "00000" so the test doesn't break
with xfsprogs 2.9.x and later.
>

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: qa 166 failure on f8 kernel
  2007-08-08  4:57             ` Barry Naujok
@ 2007-08-08  5:00               ` Eric Sandeen
  0 siblings, 0 replies; 16+ messages in thread
From: Eric Sandeen @ 2007-08-08  5:00 UTC (permalink / raw)
  To: Barry Naujok; +Cc: David Chinner, xfs-oss

Barry Naujok wrote:

> Instead of "no flags", how about "00000" so the test doesn't break
> with xfsprogs 2.9.x and later.
> 
> 
[root@inode xfstests]# rpm -q xfsprogs
xfsprogs-2.9.3-1


I have that... but... whatever works :)

-Eric

^ permalink raw reply	[flat|nested] 16+ messages in thread

* RE: qa 166 failure on f8 kernel
       [not found]     ` <D59801BCA402F5418C040937230AF7E00B9A8E@mtv-amer002e--3.americas.sgi.c om>
@ 2007-08-08  5:47       ` nscott
  0 siblings, 0 replies; 16+ messages in thread
From: nscott @ 2007-08-08  5:47 UTC (permalink / raw)
  To: Alex Elder; +Cc: David Chinner, Eric Sandeen, xfs-oss

>> From: xfs-bounce@oss.sgi.com
>> [mailto:xfs-bounce@oss.sgi.com]On Behalf Of
>> David Chinner
>> Sent: Tuesday, August 07, 2007 9:56 PM
>> To: Eric Sandeen
>> Cc: xfs-oss
>> Subject: Re: qa 166 failure on f8 kernel
> ...
>> mmap dirties entire pages. page size differs between platforms -
>> ia64 = 16k, x86 = 4k - so the size of the extent allocated is
>> different. Guess what platform I wrote the test on and use as my
>> primary platform?
>>
>> The output needs better filtering, methinks.
>
> Could the test be changed so the output is pagesize independent
> rather than filtering the output?  Or maybe the test should
> use a buffer size that's the LCM of all supported page sizes.
>

FWIW, xfs-cmds/xfstests/src/feature.c will tell you the page size (-s);
with that you can accurately filter the output and not lose any info.

cheers.

--
Nathan

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: qa 166 failure on f8 kernel
  2007-08-08  4:08     ` David Chinner
  2007-08-08  4:11       ` Eric Sandeen
@ 2007-08-08 13:13       ` Christoph Hellwig
  2007-08-08 13:17         ` David Chinner
  1 sibling, 1 reply; 16+ messages in thread
From: Christoph Hellwig @ 2007-08-08 13:13 UTC (permalink / raw)
  To: David Chinner; +Cc: Eric Sandeen, xfs-oss

On Wed, Aug 08, 2007 at 02:08:04PM +1000, David Chinner wrote:
> On Tue, Aug 07, 2007 at 09:58:50PM -0500, Eric Sandeen wrote:
> > yeah, figured it had something to do w/ the ia64 weenies when I saw the
> > 32 vs. 8, factor of 4 ... fine, fine, my bad.  :)
> 
> No, not your bad. Mine if anyones because I wrote the test.

Ia64 supports 4k, 8k, 16k and 64k base pagesize.  Time to add a little
script to make the pagesize random for your kernel builds?

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: qa 166 failure on f8 kernel
  2007-08-08 13:13       ` Christoph Hellwig
@ 2007-08-08 13:17         ` David Chinner
  0 siblings, 0 replies; 16+ messages in thread
From: David Chinner @ 2007-08-08 13:17 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: David Chinner, Eric Sandeen, xfs-oss

On Wed, Aug 08, 2007 at 02:13:19PM +0100, Christoph Hellwig wrote:
> On Wed, Aug 08, 2007 at 02:08:04PM +1000, David Chinner wrote:
> > On Tue, Aug 07, 2007 at 09:58:50PM -0500, Eric Sandeen wrote:
> > > yeah, figured it had something to do w/ the ia64 weenies when I saw the
> > > 32 vs. 8, factor of 4 ... fine, fine, my bad.  :)
> > 
> > No, not your bad. Mine if anyones because I wrote the test.
> 
> Ia64 supports 4k, 8k, 16k and 64k base pagesize.  Time to add a little
> script to make the pagesize random for your kernel builds?

Interesting idea. Definitely worth considering for the randomised
mkfs/mount option config QA runs we already do....

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2007-08-08 13:29 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-08  1:39 qa 166 failure on f8 kernel Eric Sandeen
2007-08-08  2:56 ` David Chinner
2007-08-08  2:58   ` Eric Sandeen
2007-08-08  4:08     ` David Chinner
2007-08-08  4:11       ` Eric Sandeen
2007-08-08  4:16         ` Eric Sandeen
2007-08-08  4:19         ` David Chinner
2007-08-08  4:28           ` Eric Sandeen
2007-08-08  4:57             ` Barry Naujok
2007-08-08  5:00               ` Eric Sandeen
2007-08-08 13:13       ` Christoph Hellwig
2007-08-08 13:17         ` David Chinner
2007-08-08  4:13   ` Alex Elder
     [not found]     ` <D59801BCA402F5418C040937230AF7E00B9A8E@mtv-amer002e--3.americas.sgi.c om>
2007-08-08  5:47       ` nscott
2007-08-08  4:19 ` Barry Naujok
2007-08-08  4:18   ` Eric Sandeen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox