diff options
author | NeilBrown <neilb@suse.com> | 2017-01-30 07:17:00 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2017-02-06 23:29:22 +0100 |
commit | b880092109323d1cc608c420fa712d3e19508e13 (patch) | |
tree | 72b71f8ba1a047c2302cfabd3d6383471ddf145b /include | |
parent | nfsd: opt in to labeled nfs per export (diff) | |
download | linux-b880092109323d1cc608c420fa712d3e19508e13.tar.xz linux-b880092109323d1cc608c420fa712d3e19508e13.zip |
NFSDv4: use export cache flushtime for changeid on V4ROOT objects.
If you change the set of filesystems that are exported, then
the contents of various directories in the NFSv4 pseudo-root
is likely to change. However the change-id of those
directories is currently tied to the underlying directory,
so the client may not see the changes in a timely fashion.
This patch changes the change-id number to be derived from the
"flush_time" of the export cache. Whenever any changes are
made to the set of exported filesystems, this flush_time is
updated. The result is that clients see changes to the set
of exported filesystems much more quickly, often immediately.
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions