Skip to content

sunrpc: Create sockets in namespaces

Pavel Emelyanov linux-nfs 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest9 patches 9 repliesIn review
  2. v27 patches 4 repliesSuperseded
  3. v18 patches 9 repliesSuperseded

Changes in v3 from the cover letter

Moved the generic xprt alloc/free code to xprt.c.
Got David's ack on the 8th patch :)

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9sunrpc: Factor out rpc_xprt allocationinclude/linux/sunrpc/xprt.h net/sunrpc/xprt.c net/sunrpc/xprtrdma/transport.c +1 more+28 -230 replies
2/9sunrpc: Factor out rpc_xprt freeinginclude/linux/sunrpc/xprt.h net/sunrpc/xprt.c net/sunrpc/xprtrdma/transport.c +1 more+14 -130 replies
3/9sunrpc: Add net argument to svc_create_xprtfs/lockd/svc.c fs/nfs/callback.c fs/nfsd/nfsctl.c +3 more+12 -110 replies
4/9sunrpc: Pull net argument downto svc_create_socketinclude/linux/sunrpc/svc_xprt.h net/sunrpc/svc_xprt.c net/sunrpc/svcsock.c +1 more+13 -50 replies
5/9sunrpc: Add net to rpc_create_argsfs/lockd/host.c fs/lockd/mon.c fs/nfs/client.c +4 more+9 -00 replies
6/9sunrpc: Add net to xprt_createinclude/linux/sunrpc/xprt.h net/sunrpc/clnt.c+2 -00 replies
7/9sunrpc: Tag rpc_xprt with netinclude/linux/sunrpc/xprt.h net/sunrpc/xprt.c net/sunrpc/xprtrdma/transport.c +1 more+7 -40 replies
8/9net: Export __sock_createinclude/linux/net.h net/socket.c+4 -10 replies
9/9sunrpc: Create sockets in net namespacesnet/sunrpc/svcsock.c net/sunrpc/xprtsock.c+5 -50 replies

Reviews trailers per patch

1 of 9 patches has a Reviewed-by or Acked-by.

PatchDavid S. Miller
1/9
2/9
3/9
4/9
5/9
6/9
7/9
8/9A-b
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/9] sunrpc: Create sockets in namespaces

v3 changes:
Moved the generic xprt alloc/free code to xprt.c.
Got David's ack on the 8th patch :)

v2 changes:
Fixed comments from Chuck and Trond.
Added one patch, that factors out rpc_xprt allocation as well.

v1:
This set implements pulling the net * argument down to the existing sock_create_kern calls in the sunrpc layer and creating the sockets in the given net.

Thanks,
Pavel