]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2d3d74ed047882359ab51935d8855690bf406165
tree3ee6fe22387608309977b5cc7576107ddae67ff7
parentc5bbae3a1ca46cb0234f3821a53beedbef67b0de
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