Skip to content

Commit

Permalink
lockd: Don't bother with RPC ping for NSM upcalls
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chuck Lever authored and Trond Myklebust committed Jun 18, 2009
1 parent 6c9dc42 commit 0e5c263
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/lockd/mon.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0e5c263

Please sign in to comment.