summaryrefslogtreecommitdiffstats
path: root/fs/lockd
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2009-06-17 18:02:11 -0700
committerTrond Myklebust <Trond.Myklebust@netapp.com>2009-06-17 18:02:11 -0700
commit0e5c2632e1c9182f0dadc31bec68d6f42e7905ea (patch)
tree4697987f92185489d9eb00c1a35c07f11ad5b9a7 /fs/lockd
parent6c9dc4255108bab4ef5c177d369b99c3c23492a7 (diff)
downloadlinux-0e5c2632e1c9182f0dadc31bec68d6f42e7905ea.tar.bz2
lockd: Don't bother with RPC ping for NSM upcalls
Cut NSM upcall RPC traffic in half -- don't do a NULL call first. The cases where a ping would be helpful are rare. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/lockd')
-rw-r--r--fs/lockd/mon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/lockd/mon.c b/fs/lockd/mon.c
index 38385336614c..7fce1b525849 100644
--- a/fs/lockd/mon.c
+++ b/fs/lockd/mon.c
@@ -112,6 +112,7 @@ static struct rpc_clnt *nsm_create(void)
.program = &nsm_program,
.version = NSM_VERSION,
.authflavor = RPC_AUTH_NULL,
+ .flags = RPC_CLNT_CREATE_NOPING,
};
return rpc_create(&args);