mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
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>
This commit is contained in:
parent
6c9dc42551
commit
0e5c2632e1
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue