From: Chuck Lever Date: Thu, 18 Jun 2009 01:02:11 +0000 (-0700) Subject: lockd: Don't bother with RPC ping for NSM upcalls X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0e5c2632e1c9182f0dadc31bec68d6f42e7905ea;p=linux-beck.git 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 Signed-off-by: Trond Myklebust --- 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);