Re: [PATCH v3 0/2] NFSD: Add v4.2 SEEK support

Anna Schumaker
2014-10-28T21:09:12Z

On 10/28/2014 05:07 PM, J. Bruce Fields wrote:
> On Tue, Sep 30, 2014 at 01:00:24PM -0400, Anna Schumaker wrote:
>> I'm testing with xfstests #285. It's an lseek specific test, and helped
>> find a few edge cases during development.
>
> Any hints? I did basically:
>
> yum install xfsprogs-devel libattr-devel libacl-devel
> git clone git://oss.sgi.com/xfs/cmds/xfstests.git
> cd xfstests
> make
> make install
> cat >local.config <<EOF
> FSTYP=nfs
> TEST_DEV=f20-1:/exports/xfs/xfstests
> TEST_DIR=/mnt
> NFS_MOUNT_OPTIONS='-overs=4.2,sec=sys'

Try setting TEST_FS_MOUNT_OPTIONS instead of NFS_MOUNT_OPTIONS.

> EOF
> ./check -nfs generic/285
>
> Passes just fine, but insists on using 4.0 and sec=krb5p, so apparently
> NFS_MOUNT_OPTIONS is ignored.
>
> I'm probably missing something basic, I haven't used xfstests before
> (shame on me).
>
> --b.
>