summary refs log tree commit diff
path: root/fs/nfsd/nfs4idmap.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@primarydata.com>2014-09-12 16:40:21 -0400
committerJ. Bruce Fields <bfields@redhat.com>2014-09-17 16:33:17 -0400
commit788a7914ad43380d31efed1c4d14b5f2c466a764 (patch)
treefe27e8595c23a8966d3814ebc76dfb9aea17f3e9 /fs/nfsd/nfs4idmap.c
parentd682e750ce14cfb3be655e6d492c77511e637228 (diff)
downloadlinux-788a7914ad43380d31efed1c4d14b5f2c466a764.tar.gz
nfsd: set and test NFSD4_CLIENT_STABLE bit to reduce nfsdcltrack upcalls
The nfsdcltrack upcall doesn't utilize the NFSD4_CLIENT_STABLE flag,
which basically results in an upcall every time we call into the client
tracking ops.

Change it to set this bit on a successful "check" or "create" request,
and clear it on a "remove" request.  Also, check to see if that bit is
set before upcalling on a "check" or "remove" request, and skip
upcalling appropriately, depending on its state.

Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Diffstat (limited to 'fs/nfsd/nfs4idmap.c')
0 files changed, 0 insertions, 0 deletions