Skip to content

Update rpcbind client's XDR functions

Chuck Lever linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10SUNRPC: Introduce new xdr_stream-based encoders to rpcb_clnt.cnet/sunrpc/rpcb_clnt.c+75 -10 replies
2/10SUNRPC: Clean up: Remove unused XDR encoder functions from rpcb_clnt.cnet/sunrpc/rpcb_clnt.c+0 -340 replies
3/10SUNRPC: Introduce xdr_stream-based decoders for RPCB_UNSETnet/sunrpc/rpcb_clnt.c+22 -00 replies
4/10SUNRPC: Introduce new xdr_stream-based decoders to rpcb_clnt.cnet/sunrpc/rpcb_clnt.c+142 -81 reply
5/10SUNRPC: Clean up: Remove unused XDR decoder functions from rpcb_clnt.cnet/sunrpc/rpcb_clnt.c+0 -810 replies
6/10SUNRPC: Eliminate PROC macro from rpcb_clntnet/sunrpc/rpcb_clnt.c+91 -220 replies
7/10SUNRPC: Pass full bind address to transports after GETPORT/GETADDRinclude/linux/sunrpc/xprt.h net/sunrpc/rpcb_clnt.c net/sunrpc/xprtrdma/transport.c +1 more+56 -282 replies
8/10SUNRPC: Rename sock_xprt.addr as sock_xprt.srcaddrnet/sunrpc/xprtsock.c+12 -120 replies
9/10SUNRPC: Use address returned by rpcbind when connectingnet/sunrpc/xprtsock.c+98 -500 replies
10/10SUNRPC: Add documenting comments in net/sunrpc/timer.cnet/sunrpc/timer.c+29 -160 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/10] Update rpcbind client's XDR functions

Hi Trond-

Here, I update the kernel rpcbind client's XDR functions to use the NFSv4-style encoding and decoding, use the new universal address API added in the previous series, and introduce support for using the whole address returned by RPCB_GETADDR instead of just the port number.

This series of patches is for 2.6.32, and depends on the last series I just sent. These patches have seen light testing here, and are also available in the cel-2.6.git linux.nfs.org repository under the cel-ipv6-07152009 tag.

The last patch in this series is a one-off, not dependent on any of the others.

---

Chuck Lever (10):
SUNRPC: Add documenting comments in net/sunrpc/timer.c
SUNRPC: Use address returned by rpcbind when connecting
SUNRPC: Rename sock_xprt.addr as sock_xprt.srcaddr
SUNRPC: Pass full bind address to transports after GETPORT/GETADDR
SUNRPC: Eliminate PROC macro from rpcb_clnt
SUNRPC: Clean up: Remove unused XDR decoder functions from rpcb_clnt.c
SUNRPC: Introduce new xdr_stream-based decoders to rpcb_clnt.c
SUNRPC: Introduce xdr_stream-based decoders for RPCB_UNSET
SUNRPC: Clean up: Remove unused XDR encoder functions from rpcb_clnt.c
SUNRPC: Introduce new xdr_stream-based encoders to rpcb_clnt.c

 include/linux/sunrpc/xprt.h     |    4 
 net/sunrpc/rpcb_clnt.c          |  384 ++++++++++++++++++++++++++++-----------
 net/sunrpc/timer.c              |   45 +++--
 net/sunrpc/xprtrdma/transport.c |   23 ++
 net/sunrpc/xprtsock.c           |  173 ++++++++++++------
 5 files changed, 451 insertions(+), 178 deletions(-)
Signature · 1 line
Chuck Lever <[email protected]>