* xfstests with NFS
@ 2014-02-27 18:32 Chuck Lever
2014-02-27 20:50 ` Christoph Hellwig
0 siblings, 1 reply; 3+ messages in thread
From: Chuck Lever @ 2014-02-27 18:32 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: Linux NFS Mailing List
Hi Christoph-
I’m running xfstests to validate functionality of a particular NFS client/transport/server set up.
There are a couple of tests that may not always be appropriate for FSTYP=nfs. We weren’t able to identify a bugzilla where we can report these issues.
generic/192 tests atime changes. The Linux NFS client (and probably others) typically optimizes away atime changes. Thus this test fails for NFS mounts on Linux. I’m wondering if we can treat NFS as always a noatime filesystem.
generic/237 tries setfacl. On NFS mounts, the operation always returns “Operation not supported,” but the test is looking for “Operation not permitted.” The former is an acceptable pass, IMO. I considered disabling this test for NFS, but I would bet some NFS client implementations actually do support setfacl().
--
Chuck Lever
chuck[dot]lever[at]oracle[dot]com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: xfstests with NFS
2014-02-27 18:32 xfstests with NFS Chuck Lever
@ 2014-02-27 20:50 ` Christoph Hellwig
0 siblings, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2014-02-27 20:50 UTC (permalink / raw)
To: Chuck Lever; +Cc: Linux NFS Mailing List, xfs
On Thu, Feb 27, 2014 at 10:32:51AM -0800, Chuck Lever wrote:
>
> I’m running xfstests to validate functionality of a particular
> NFS client/transport/server set up.
>
> There are a couple of tests that may not always be appropriate for
> FSTYP=nfs. We weren’t able to identify a bugzilla where we can report
> these issues.
Just send the to the xfs list. (and cap lines after 75 chars like for all
Linux lists..)
> generic/192 tests atime changes. The Linux NFS client (and probably
> others) typically optimizes away atime changes. Thus this test fails
> for NFS mounts on Linux. I’m wondering if we can treat NFS as always
> a noatime filesystem.
I guess there's two components to this if we want to do it properly:
- make sure nfs always reports noatime in /proc/self/mounts instead
of incorrectly claiming it supports relatime by default
- _notrun 192 if it detects the filesystems reports noatime.
> generic/237 tries setfacl. On NFS mounts, the operation always returns
> “Operation not supported,” but the test is looking for “Operation not
> permitted.” The former is an acceptable pass, IMO. I considered
> disabling this test for NFS, but I would bet some NFS client
> implementations actually do support setfacl().
The NFSv3 client support ACLs perfectly, it's just NFSv4 that's messed up.
237 does a _require_acls before ding thæ test, which checks for
ENOSYS or EOPNOTSUPP, which in theory should catch NFSv4 in theory, but
if this doesn't happen try to debug it by looking at the _require_acls shell
function, the chacl implementation, the NFSv4 ACL stubs and anything else
related.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: xfstests with NFS
@ 2014-02-27 20:50 ` Christoph Hellwig
0 siblings, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2014-02-27 20:50 UTC (permalink / raw)
To: Chuck Lever; +Cc: Linux NFS Mailing List, xfs
On Thu, Feb 27, 2014 at 10:32:51AM -0800, Chuck Lever wrote:
>
> I’m running xfstests to validate functionality of a particular
> NFS client/transport/server set up.
>
> There are a couple of tests that may not always be appropriate for
> FSTYP=nfs. We weren’t able to identify a bugzilla where we can report
> these issues.
Just send the to the xfs list. (and cap lines after 75 chars like for all
Linux lists..)
> generic/192 tests atime changes. The Linux NFS client (and probably
> others) typically optimizes away atime changes. Thus this test fails
> for NFS mounts on Linux. I’m wondering if we can treat NFS as always
> a noatime filesystem.
I guess there's two components to this if we want to do it properly:
- make sure nfs always reports noatime in /proc/self/mounts instead
of incorrectly claiming it supports relatime by default
- _notrun 192 if it detects the filesystems reports noatime.
> generic/237 tries setfacl. On NFS mounts, the operation always returns
> “Operation not supported,” but the test is looking for “Operation not
> permitted.” The former is an acceptable pass, IMO. I considered
> disabling this test for NFS, but I would bet some NFS client
> implementations actually do support setfacl().
The NFSv3 client support ACLs perfectly, it's just NFSv4 that's messed up.
237 does a _require_acls before ding thæ test, which checks for
ENOSYS or EOPNOTSUPP, which in theory should catch NFSv4 in theory, but
if this doesn't happen try to debug it by looking at the _require_acls shell
function, the chacl implementation, the NFSv4 ACL stubs and anything else
related.
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-02-27 20:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-27 18:32 xfstests with NFS Chuck Lever
2014-02-27 20:50 ` Christoph Hellwig
2014-02-27 20:50 ` Christoph Hellwig
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.