]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Ensure our task is notified when an rpcbind call is done
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 7 Jul 2008 16:18:53 +0000 (12:18 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 9 Jul 2008 16:09:45 +0000 (12:09 -0400)
commit2e633231d0a4f754f15ea21f8fe97af0e178d99a
tree56e5f5159432ebb350af4adf330afa4f50b77a54
parente9150548f1544b72c7d9f33efb868b4fe99b4cb0
SUNRPC: Ensure our task is notified when an rpcbind call is done

If another task is busy in rpcb_getport_async number, it is more efficient
to have it wake us up when it has finished instead of arbitrarily sleeping
for 5 seconds.

Also ensure that rpcb_wake_rpcbind_waiters() is called regardless of
whether or not rpcb_getport_done() gets called.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/clnt.c
net/sunrpc/rpcb_clnt.c