freebsd-skq/sys/fs/nfsserver
Rick Macklem dedec68c32 Fix the setting of atime for Linux client NFSv4 mounts.
The FreeBSD NFSv4 server did not set the attribute bit for TimeAccess in
the reply to an Open with exclusive_create, as required by the RFCs.
(This is required since the FreeBSD NFS server stores the create_verifier
 in the va_atime attribute.)
As such, the Linux NFSv4 client did not set the TimeAccess (atime) in
the Setattr done in an RPC after the one with the Open/exclusive_create.
This patch fixes the server to set the TimeAccess bit in the reply.

I believe that storing the create_verifier in an extended attribute for
file systems that support extended attributes might be a good idea,
but I will wait for a discussion of this on the freebsd-fs@ email list
before considering committing a patch to do this.

Reported by:	jim@ks.uiuc.edu
Suggested by:	dfr
MFC after:	2 weeks
2017-04-21 00:17:47 +00:00
..
nfs_fha_new.c Fix RPC server threads file handle affinity to work better with ZFS. 2013-12-23 08:43:16 +00:00
nfs_fha_new.h
nfs_nfsdcache.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
nfs_nfsdkrpc.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
nfs_nfsdport.c Fix the setting of atime for Linux client NFSv4 mounts. 2017-04-21 00:17:47 +00:00
nfs_nfsdserv.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
nfs_nfsdsocket.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
nfs_nfsdstate.c Revert crap accidentally committed 2017-01-28 16:31:23 +00:00
nfs_nfsdsubs.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00