diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2009-06-18 05:02:11 +0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-06-18 05:02:11 +0400 |
commit | 0e5c2632e1c9182f0dadc31bec68d6f42e7905ea (patch) | |
tree | 4697987f92185489d9eb00c1a35c07f11ad5b9a7 /fs/lockd | |
parent | 6c9dc4255108bab4ef5c177d369b99c3c23492a7 (diff) | |
download | linux-0e5c2632e1c9182f0dadc31bec68d6f42e7905ea.tar.xz |
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.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) .program = &nsm_program, .version = NSM_VERSION, .authflavor = RPC_AUTH_NULL, + .flags = RPC_CLNT_CREATE_NOPING, }; return rpc_create(&args); |