]> git.karo-electronics.de Git - linux-beck.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)
commit381ba74af55e58bca4c01553835a360a9f6fbb07
tree56e5f5159432ebb350af4adf330afa4f50b77a54
parentf45663ce5fb30f76a3414ab3ac69f4dd320e760a
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