2022-08-31 13:16:25

by Murphy Zhou

[permalink] [raw]
Subject: mainline kernel fails fstests generic/130 over nfsv4.2

Hi,

It's pretty reproducible for me.

Could anyone look into it? Thanks!

FSTYP -- nfs
PLATFORM -- Linux/x86_64 ibm-x3250m2-4 6.0.0-rc1 #1 SMP
PREEMPT_DYNAMIC Sat Aug 20 19:03:47 UTC 2022
MKFS_OPTIONS -- localhost:/export/scratch
MOUNT_OPTIONS -- -o vers=4.2 -o context=system_u:object_r:nfs_t:s0
localhost:/export/scratch /mnt/xfstests/mnt2

generic/130 - output mismatch (see
/var/lib/xfstests/results//generic/130.out.bad)
--- tests/generic/130.out 2022-08-23 07:38:25.769217560 -0400
+++ /var/lib/xfstests/results//generic/130.out.bad 2022-08-23
08:09:10.121494654 -0400
@@ -7,6 +7,520 @@
00000000: 63 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c...............
00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
................
*
+0000a000: 1c 1d 1e 1f 20 21 22 23 24 25 26 27 28 29 2a 2b
................
+0000a010: 2c 2d 2e 2f 30 31 32 33 34 35 36 37 38 39 3a 3b
....0123456789..
+0000a020: 3c 3d 3e 3f 40 41 42 43 44 45 46 47 48 49 4a 4b
.....ABCDEFGHIJK
+0000a030: 4c 4d 4e 4f 50 51 52 53 54 55 56 57 58 59 5a 5b
LMNOPQRSTUVWXYZ.
...
(Run 'diff -u /var/lib/xfstests/tests/generic/130.out
/var/lib/xfstests/results//generic/130.out.bad' to see the entire
diff)


2022-09-03 16:54:44

by Chuck Lever III

[permalink] [raw]
Subject: Re: mainline kernel fails fstests generic/130 over nfsv4.2



> On Aug 31, 2022, at 8:57 AM, Murphy Zhou <[email protected]> wrote:
>
> Hi,
>
> It's pretty reproducible for me.
>
> Could anyone look into it? Thanks!

I'm not volunteering to look into this, but can you also
provide more information about your configuration? The two
most interesting items would be:

- What filesystem underlies the test export and the scratch
filesystem?

- is READ_PLUS support enabled on your test client? Look
for the CONFIG_NFS_V4_2_READ_PLUS setting in your client's
kernel configuration.


> FSTYP -- nfs
> PLATFORM -- Linux/x86_64 ibm-x3250m2-4 6.0.0-rc1 #1 SMP
> PREEMPT_DYNAMIC Sat Aug 20 19:03:47 UTC 2022
> MKFS_OPTIONS -- localhost:/export/scratch
> MOUNT_OPTIONS -- -o vers=4.2 -o context=system_u:object_r:nfs_t:s0
> localhost:/export/scratch /mnt/xfstests/mnt2
>
> generic/130 - output mismatch (see
> /var/lib/xfstests/results//generic/130.out.bad)
> --- tests/generic/130.out 2022-08-23 07:38:25.769217560 -0400
> +++ /var/lib/xfstests/results//generic/130.out.bad 2022-08-23
> 08:09:10.121494654 -0400
> @@ -7,6 +7,520 @@
> 00000000: 63 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> c...............
> 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> ................
> *
> +0000a000: 1c 1d 1e 1f 20 21 22 23 24 25 26 27 28 29 2a 2b
> ................
> +0000a010: 2c 2d 2e 2f 30 31 32 33 34 35 36 37 38 39 3a 3b
> ....0123456789..
> +0000a020: 3c 3d 3e 3f 40 41 42 43 44 45 46 47 48 49 4a 4b
> .....ABCDEFGHIJK
> +0000a030: 4c 4d 4e 4f 50 51 52 53 54 55 56 57 58 59 5a 5b
> LMNOPQRSTUVWXYZ.
> ...
> (Run 'diff -u /var/lib/xfstests/tests/generic/130.out
> /var/lib/xfstests/results//generic/130.out.bad' to see the entire
> diff)

--
Chuck Lever



2022-10-19 03:55:28

by Murphy Zhou

[permalink] [raw]
Subject: Re: mainline kernel fails fstests generic/130 over nfsv4.2

On Sun, Sep 4, 2022 at 12:52 AM Chuck Lever III <[email protected]> wrote:
>
>
>
> > On Aug 31, 2022, at 8:57 AM, Murphy Zhou <[email protected]> wrote:
> >
> > Hi,
> >
> > It's pretty reproducible for me.
> >
> > Could anyone look into it? Thanks!
>
> I'm not volunteering to look into this, but can you also
> provide more information about your configuration? The two
> most interesting items would be:
>
> - What filesystem underlies the test export and the scratch
> filesystem?
It was xfs.
>
> - is READ_PLUS support enabled on your test client? Look
> for the CONFIG_NFS_V4_2_READ_PLUS setting in your client's
> kernel configuration.

Test pass with this config enabled. Thanks very much for your time!

Regards~

>
>
> > FSTYP -- nfs
> > PLATFORM -- Linux/x86_64 ibm-x3250m2-4 6.0.0-rc1 #1 SMP
> > PREEMPT_DYNAMIC Sat Aug 20 19:03:47 UTC 2022
> > MKFS_OPTIONS -- localhost:/export/scratch
> > MOUNT_OPTIONS -- -o vers=4.2 -o context=system_u:object_r:nfs_t:s0
> > localhost:/export/scratch /mnt/xfstests/mnt2
> >
> > generic/130 - output mismatch (see
> > /var/lib/xfstests/results//generic/130.out.bad)
> > --- tests/generic/130.out 2022-08-23 07:38:25.769217560 -0400
> > +++ /var/lib/xfstests/results//generic/130.out.bad 2022-08-23
> > 08:09:10.121494654 -0400
> > @@ -7,6 +7,520 @@
> > 00000000: 63 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> > c...............
> > 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> > ................
> > *
> > +0000a000: 1c 1d 1e 1f 20 21 22 23 24 25 26 27 28 29 2a 2b
> > ................
> > +0000a010: 2c 2d 2e 2f 30 31 32 33 34 35 36 37 38 39 3a 3b
> > ....0123456789..
> > +0000a020: 3c 3d 3e 3f 40 41 42 43 44 45 46 47 48 49 4a 4b
> > .....ABCDEFGHIJK
> > +0000a030: 4c 4d 4e 4f 50 51 52 53 54 55 56 57 58 59 5a 5b
> > LMNOPQRSTUVWXYZ.
> > ...
> > (Run 'diff -u /var/lib/xfstests/tests/generic/130.out
> > /var/lib/xfstests/results//generic/130.out.bad' to see the entire
> > diff)
>
> --
> Chuck Lever
>
>
>