remarkable-linux/net/sunrpc
Stanislav Kinsbursky 914edb1bb2 SUNRPC: introduce helpers for reference counted rpcbind clients
v6:
1) added write memory barrier to rpcb_set_local to make sure, that rpcbind
clients become valid before rpcb_users assignment
2) explicitly set rpcb_users to 1 instead of incrementing it (looks clearer from
my pow).

v5: fixed races with rpcb_users in rpcb_get_local()

This helpers will be used for dynamical creation and destruction of rpcbind
clients.
Variable rpcb_users is actually a counter of lauched RPC services. If rpcbind
clients has been created already, then we just increase rpcb_users.

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2011-10-25 13:15:48 +02:00
..
auth_gss SUNRPC/NFS: make rpc pipe upcall generic 2011-10-18 09:08:12 -07:00
xprtrdma Merge branch 'nfs-for-3.1' of git://git.linux-nfs.org/projects/trondmy/linux-nfs 2011-07-27 13:23:02 -07:00
addr.c SUNRPC: Remove unnecessary export of rpc_sockaddr2uaddr 2011-10-18 09:13:32 -07:00
auth.c
auth_generic.c
auth_null.c
auth_unix.c NFS/sunrpc: don't use a credential with extra groups. 2011-10-25 11:20:58 +02:00
backchannel_rqst.c SUNRPC: Convert the backchannel exports to EXPORT_SYMBOL_GPL 2011-07-15 09:12:23 -04:00
bc_svc.c SUNRPC: sunrpc should not explicitly depend on NFS config options 2011-07-15 09:12:23 -04:00
cache.c
clnt.c NFS: Get rid of nfs_restart_rpc() 2011-10-19 13:58:30 -07:00
Kconfig SUNRPC: sunrpc should not explicitly depend on NFS config options 2011-07-15 09:12:23 -04:00
Makefile SUNRPC: sunrpc should not explicitly depend on NFS config options 2011-07-15 09:12:23 -04:00
netns.h
rpc_pipe.c SUNRPC/NFS: make rpc pipe upcall generic 2011-10-18 09:08:12 -07:00
rpcb_clnt.c SUNRPC: introduce helpers for reference counted rpcbind clients 2011-10-25 13:15:48 +02:00
sched.c SUNRPC: Allow caller of rpc_sleep_on() to select priority levels 2011-07-17 18:11:34 -04:00
socklib.c
stats.c
sunrpc.h
sunrpc_syms.c
svc.c SUNRPC: Convert the backchannel exports to EXPORT_SYMBOL_GPL 2011-07-15 09:12:23 -04:00
svc_xprt.c svcrpc: fix list-corrupting race on nfsd shutdown 2011-07-15 18:58:46 -04:00
svcauth.c
svcauth_unix.c svcauth_unix.c: quiet sparse noise 2011-07-15 18:58:44 -04:00
svcsock.c Merge branch 'nfs-for-3.1' of git://git.linux-nfs.org/projects/trondmy/linux-nfs 2011-07-27 13:23:02 -07:00
sysctl.c
timer.c
xdr.c SUNRPC: Convert the backchannel exports to EXPORT_SYMBOL_GPL 2011-07-15 09:12:23 -04:00
xprt.c net: fix new sunrpc kernel-doc warning 2011-07-28 18:20:21 -07:00
xprtsock.c SUNRPC: Support dynamic slot allocation for TCP connections 2011-07-17 18:11:30 -04:00