RFC SVC Transport Switch
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest33 patches 24 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/33 | svc: Add an svc transport classinclude/ include/ net/ +1 more | +128 | 0 replies | |
| 2/33 | svc: Make svc_sock the tcp/udp transportinclude/ include/ net/ +1 more | +39 | 0 replies | |
| 3/33 | svc: Change the svc_sock in the rqstp structure to a transportinclude/ | +4 | 0 replies | |
| 4/33 | svc: Add a max payload value to the transportinclude/ net/ net/ +1 more | +6 | 0 replies | |
| 5/33 | svc: Move sk_sendto and sk_recvfrom to svc_xprt_classinclude/ include/ net/ | +8 | 0 replies | |
| 6/33 | svc: Add transport specific xpo_release functioninclude/ include/ net/ | +11 | 2 replies | |
| 7/33 | svc: Add per-transport delete functionsinclude/ net/ | +47 | 0 replies | |
| 8/33 | svc: Add xpo_prep_reply_hdrinclude/ net/ net/ | +23 | 0 replies | |
| 9/33 | svc: Add a transport function that checks for write spaceinclude/ net/ | +53 | 2 replies | |
| 10/33 | svc: Move close processing to a single placenet/ | +10 | 0 replies | |
| 11/33 | svc: Add xpo_accept transport functioninclude/ include/ net/ | +75 | 2 replies | |
| 12/33 | svc: Add a generic transport svc_create_xprt functioninclude/ net/ net/ | +85 | 2 replies | |
| 13/33 | svc: Change services to use new svc_create_xprt servicefs/ fs/ fs/ +3 more | +14 | 0 replies | |
| 14/33 | svc: Change sk_inuse to a krefinclude/ include/ net/ +1 more | +45 | 0 replies | |
| 15/33 | svc: Move sk_flags to the svc_xprt structureinclude/ include/ net/ | +84 | 0 replies | |
| 16/33 | svc: Move sk_server and sk_pool to svc_xprtinclude/ include/ net/ +1 more | +32 | 0 replies | |
| 17/33 | svc: Make close transport independentfs/ include/ include/ +3 more | +60 | 0 replies | |
| 18/33 | svc: Move sk_reserved to svc_xprtinclude/ include/ net/ | +6 | 0 replies | |
| 19/33 | svc: Make the enqueue service transport neutral and export it.net/ | +48 | 0 replies | |
| 20/33 | svc: Make svc_send transport neutralinclude/ include/ net/ +1 more | +10 | 0 replies | |
| 21/33 | svc: Change svc_sock_received to svc_xprt_received and export itinclude/ net/ | +19 | 0 replies | |
| 22/33 | svc: Move sk_lastrecv to svc_xprtinclude/ include/ net/ | +4 | 3 replies | |
| 23/33 | svc: Move the authinfo cache to svc_xprt.include/ include/ net/ +2 more | +48 | 2 replies | |
| 24/33 | svc: Make deferral processing xprt independentinclude/ include/ include/ +2 more | +30 | 0 replies | |
| 25/33 | svc: Move the sockaddr information to svc_xprtinclude/ include/ net/ | +30 | 3 replies | |
| 26/33 | svc: Make svc_sock_release svc_xprt_releasenet/ | +7 | 0 replies | |
| 27/33 | svc: Make svc_recv transport neutralnet/ net/ | +33 | 0 replies | |
| 28/33 | svc: Make svc_age_temp_sockets svc_age_temp_transportsnet/ | +17 | 0 replies | |
| 29/33 | svc: Move common create logic to common codenet/ net/ | +26 | 0 replies | |
| 30/33 | svc: Removing remaining references to rq_sock in rqstpinclude/ net/ | +17 | 0 replies | |
| 31/33 | svc: Move the xprt independent code to the svc_xprt.c fileinclude/ net/ net/ | +752 | 0 replies | |
| 32/33 | svc: Add /proc/sys/sunrpc/transport filesinclude/ include/ net/ +1 more | +67 | 0 replies | |
| 33/33 | knfsd: Support adding transports by writing portlist filefs/ | +16 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC,PATCH 00/33] SVC Transport Switch
The following series implements a pluggable transport switch for RPC servers. The biggest changes in this latest incarnation are as follows:
- The overall design of the switch has been modified to be more similar to the client side, e.g.
- There is a transport class structure svc_xprt_class, and
- A transport independent structure is manipulated by xprt independent code (svc_xprt)
- Further consolidation of transport independent logic out of transport providers and into transport independent code.
- Transport independent code has been broken out into a separate file
- Transport independent functions prevously adorned with _sock_ have had their names changed, e.g. svc_sock_enqueue
- atomic refcounts have been changed to krefs
The patchset is large (33 patches). There are some things that I would like to do that I didn't do because the patchset is already big. For example, normalize the creation of nfsd listening endpoints using writes to the portlist file.
I've attempted to organize the patchset such that logical changes are clearly reviewable without too much clutter from functionally empty name changes. This was somewhat awkward since intermediate patches may look ugly/broken/incomplete to some reviewers. This was to avoid losing the context of a change while keeping each patch a reasonable size. For example, making svc_recv transport independent and moving it to the svc_xprt file cannot be done in the same patch without losing the diffs to the svc_recv function.
This patchset has had limited testing with TCP/UDP. In this case, the tests included connectathon and building the kernel on an NFS mount running on the transport switch.
This patchset is against the 2.6.23-rc8 kernel tree.
Signature · 9 lines
Signed-off-by: Tom Tucker <[email protected]> ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ NFS maillist - [email protected] https://lists.sourceforge.net/lists/listinfo/nfs