diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2009-06-17 21:02:11 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-06-17 21:02:11 -0400 |
commit | 0e5c2632e1c9182f0dadc31bec68d6f42e7905ea (patch) | |
tree | 4697987f92185489d9eb00c1a35c07f11ad5b9a7 | |
parent | 6c9dc4255108bab4ef5c177d369b99c3c23492a7 (diff) |
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>
-rw-r--r-- | fs/lockd/mon.c | 1 |
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) | |||
112 | .program = &nsm_program, | 112 | .program = &nsm_program, |
113 | .version = NSM_VERSION, | 113 | .version = NSM_VERSION, |
114 | .authflavor = RPC_AUTH_NULL, | 114 | .authflavor = RPC_AUTH_NULL, |
115 | .flags = RPC_CLNT_CREATE_NOPING, | ||
115 | }; | 116 | }; |
116 | 117 | ||
117 | return rpc_create(&args); | 118 | return rpc_create(&args); |