]> asedeno.scripts.mit.edu Git - linux.git/commit
nfsd: keep a tally of RECLAIM_COMPLETE operations when using nfsdcld
authorScott Mayhew <smayhew@redhat.com>
Tue, 26 Mar 2019 22:06:28 +0000 (18:06 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 24 Apr 2019 13:46:34 +0000 (09:46 -0400)
commit362063a595be959bc08f4163e6405a0266740091
tree34e01e76a201ce71b0b938f4db3a145daa75099e
parent74725959c33c14114fdce1e36e3504d106584d53
nfsd: keep a tally of RECLAIM_COMPLETE operations when using nfsdcld

When using nfsdcld for NFSv4 client tracking, track the number of
RECLAIM_COMPLETE operations we receive from "known" clients to help in
deciding if we can lift the grace period early (or whether we need to
start a v4 grace period at all).

Signed-off-by: Scott Mayhew <smayhew@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/netns.h
fs/nfsd/nfs4recover.c
fs/nfsd/nfs4state.c
fs/nfsd/nfsctl.c