diff options
author | Chuck Lever <chuck.lever@ORACLE.COM> | 2011-05-09 19:22:44 (GMT) |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-05-27 21:42:47 (GMT) |
commit | 176e21ee2ec89cae8d45cf1a850ea45a45428fb8 (patch) | |
tree | 4e1231617d193b3fe62ea5bd4df5e4d8fe8b9e80 /net/key | |
parent | 559649efb9b0d248541933197bdf7b75529da457 (diff) | |
download | linux-176e21ee2ec89cae8d45cf1a850ea45a45428fb8.tar.xz |
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>
Diffstat (limited to 'net/key')
0 files changed, 0 insertions, 0 deletions