linux-stable/include/linux/sunrpc
Chuck Lever 176e21ee2e SUNRPC: Support for RPC over AF_LOCAL transports
TI-RPC introduces the capability of performing RPC over AF_LOCAL
sockets.  It uses this mainly for registering and unregistering
local RPC services securely with the local rpcbind, but we could
also conceivably use it as a generic upcall mechanism.

This patch provides a client-side only implementation for the moment.
We might also consider a server-side implementation to provide
AF_LOCAL access to NLM (for statd downcalls, and such like).

Autobinding is not supported on kernel AF_LOCAL transports at this
time.  Kernel ULPs must specify the pathname of the remote endpoint
when an AF_LOCAL transport is created.  rpcbind supports registering
services available via AF_LOCAL, so the kernel could handle it with
some adjustment to ->rpcbind and ->set_port.  But we don't need this
feature for doing upcalls via well-known named sockets.

This has not been tested with ULPs that move a substantial amount of
data.  Thus, I can't attest to how robust the write_space and
congestion management logic is.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2011-05-27 17:42:47 -04:00
..
auth.h SUNRPC: New xdr_streams XDR decoder API 2010-12-16 12:37:25 -05:00
auth_gss.h
bc_xprt.h NFS do not find client in NFSv4 pg_authenticate 2011-01-25 15:26:51 -05:00
cache.h Fix common misspellings 2011-03-31 11:26:23 -03:00
clnt.h NFSv4.1: filelayout async error handler 2011-03-11 15:38:43 -05:00
debug.h
gss_api.h NFS: Determine initial mount security 2011-03-24 13:52:42 -04:00
gss_asn1.h
gss_err.h
gss_krb5.h
Kbuild
metrics.h
msg_prot.h SUNRPC: Support for RPC over AF_LOCAL transports 2011-05-27 17:42:47 -04:00
rpc_pipe_fs.h
rpc_rdma.h
sched.h SUNRPC: Allow RPC calls to return ETIMEDOUT instead of EIO 2011-04-24 14:28:45 -04:00
stats.h
svc.h Merge branch 'for-2.6.38' of git://linux-nfs.org/~bfields/linux 2011-01-14 13:17:26 -08:00
svc_rdma.h
svc_xprt.h NFS do not find client in NFSv4 pg_authenticate 2011-01-25 15:26:51 -05:00
svcauth.h
svcauth_gss.h Fix common misspellings 2011-03-31 11:26:23 -03:00
svcsock.h rpc: move sk_bc_xprt to svc_xprt 2011-01-11 15:04:10 -05:00
timer.h
types.h
xdr.h Merge branch 'bugfixes' into nfs-for-2.6.38 2011-01-10 14:48:02 -05:00
xprt.h SUNRPC: Support for RPC over AF_LOCAL transports 2011-05-27 17:42:47 -04:00
xprtrdma.h
xprtsock.h