From: Jeff Layton Date: Fri, 12 Sep 2014 20:40:21 +0000 (-0400) Subject: nfsd: set and test NFSD4_CLIENT_STABLE bit to reduce nfsdcltrack upcalls X-Git-Tag: fixes-for-v3.18-merge-window~9^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=788a7914ad43380d31efed1c4d14b5f2c466a764;p=pandora-kernel.git 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 --- Reading git-diff-tree failed