OSDN Git Service

nfsd4: support change_attr_type attribute
authorJ. Bruce Fields <bfields@redhat.com>
Wed, 25 Apr 2018 17:26:23 +0000 (13:26 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Sun, 17 Jun 2018 14:41:31 +0000 (10:41 -0400)
commita85857633b04d57f4524cca0a2bfaf87b2543f9f
tree3ee6fe22387608309977b5cc7576107ddae67ff7
parent16945141c3567bb8561de3677de1ec657675bb15
nfsd4: support change_attr_type attribute

The change attribute is what is used by clients to revalidate their
caches.  Our server may use i_version or ctime for that purpose.  Those
choices behave slightly differently, and it may be useful to the client
to know which we're using.  This attribute tells the client that.  The
Linux client doesn't yet use this attribute yet, though.

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4xdr.c
fs/nfsd/nfsd.h
include/linux/nfs4.h