diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2009-06-18 03:02:11 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-06-18 03:02:11 +0200 |
commit | 0e5c2632e1c9182f0dadc31bec68d6f42e7905ea (patch) | |
tree | 4697987f92185489d9eb00c1a35c07f11ad5b9a7 /fs/lockd | |
parent | lockd: Update NSM state from SM_MON replies (diff) | |
download | linux-0e5c2632e1c9182f0dadc31bec68d6f42e7905ea.tar.xz linux-0e5c2632e1c9182f0dadc31bec68d6f42e7905ea.zip |
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); |