svc: SVC Transport Switch
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest40 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/40 | svc: Add an svc transport classinclude/ include/ net/ +1 more | +117 | 0 replies | |
| 2/40 | svc: Make svc_sock the tcp/udp transportinclude/ include/ net/ +1 more | +38 | 0 replies | |
| 3/40 | svc: Change the svc_sock in the rqstp structure to a transportinclude/ | +4 | 0 replies | |
| 4/40 | svc: Add a max payload value to the transportinclude/ net/ net/ | +4 | 0 replies | |
| 5/40 | svc: Move sk_sendto and sk_recvfrom to svc_xprt_classinclude/ include/ net/ | +8 | 0 replies | |
| 6/40 | svc: Add transport specific xpo_release functioninclude/ include/ net/ | +11 | 0 replies | |
| 7/40 | svc: Add per-transport delete functionsinclude/ net/ | +45 | 0 replies | |
| 8/40 | svc: Add xpo_prep_reply_hdrinclude/ net/ net/ | +21 | 0 replies | |
| 9/40 | svc: Add a transport function that checks for write spaceinclude/ net/ | +57 | 0 replies | |
| 10/40 | svc: Move close processing to a single placenet/ | +11 | 0 replies | |
| 11/40 | svc: Add xpo_accept transport functioninclude/ include/ net/ | +21 | 0 replies | |
| 12/40 | svc: Remove unnecessary call to svc_sock_enqueuenet/ | +0 | 0 replies | |
| 13/40 | svc: Move connection limit checking to its own functionnet/ | +29 | 0 replies | |
| 14/40 | svc: Add a generic transport svc_create_xprt functioninclude/ net/ net/ | +85 | 0 replies | |
| 15/40 | svc: Change services to use new svc_create_xprt servicefs/ fs/ fs/ +3 more | +12 | 0 replies | |
| 16/40 | svc: Change sk_inuse to a krefinclude/ include/ net/ +1 more | +87 | 0 replies | |
| 17/40 | svc: Move sk_flags to the svc_xprt structureinclude/ include/ net/ | +88 | 0 replies | |
| 18/40 | svc: Move sk_server and sk_pool to svc_xprtinclude/ include/ net/ +1 more | +35 | 0 replies | |
| 19/40 | svc: Make close transport independentfs/ fs/ include/ +4 more | +61 | 0 replies | |
| 20/40 | svc: Move sk_reserved to svc_xprtinclude/ include/ net/ | +6 | 0 replies | |
| 21/40 | svc: Make the enqueue service transport neutral and export it.net/ | +48 | 0 replies | |
| 22/40 | svc: Make svc_send transport neutralinclude/ include/ net/ +1 more | +10 | 0 replies | |
| 23/40 | svc: Change svc_sock_received to svc_xprt_received and export itinclude/ net/ | +25 | 0 replies | |
| 24/40 | svc: Move accept call to svc_xprt_received to common codenet/ | +1 | 0 replies | |
| 25/40 | svc: Remove sk_lastrecvinclude/ net/ | +1 | 0 replies | |
| 26/40 | svc: Move the authinfo cache to svc_xprt.include/ include/ net/ +2 more | +49 | 0 replies | |
| 27/40 | svc: Make deferral processing xprt independentinclude/ include/ include/ +2 more | +29 | 0 replies | |
| 28/40 | svc: Move the sockaddr information to svc_xprtinclude/ include/ net/ +1 more | +110 | 0 replies | |
| 29/40 | svc: Make svc_sock_release svc_xprt_releasenet/ | +7 | 0 replies | |
| 30/40 | svc: Make svc_recv transport neutralnet/ | +31 | 0 replies | |
| 31/40 | svc: Make svc_age_temp_sockets svc_age_temp_transportsnet/ | +19 | 0 replies | |
| 32/40 | svc: Move create logic to common codenet/ net/ | +44 | 0 replies | |
| 33/40 | svc: Removing remaining references to rq_sock in rqstpinclude/ net/ | +25 | 0 replies | |
| 34/40 | svc: Make svc_check_conn_limits xprt independentnet/ | +12 | 0 replies | |
| 35/40 | svc: Move the xprt independent code to the svc_xprt.c fileinclude/ net/ net/ | +804 | 1 reply | |
| 36/40 | svc: Add transport hdr size for defer/revisitinclude/ net/ net/ | +31 | 0 replies | |
| 37/40 | svc: Add /proc/sys/sunrpc/transport filesinclude/ net/ net/ | +60 | 0 replies | |
| 38/40 | svc: Add svc API that queries for a transport instancefs/ include/ net/ | +38 | 0 replies | |
| 39/40 | knfsd: Support adding transports by writing portlist filefs/ net/ | +48 | 0 replies | |
| 40/40 | svc: Add svc_xprt_names service to replace svc_sock_namesfs/ include/ net/ | +37 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/40] svc: SVC Transport Switch
The Server Side Transport switch implements a pluggable transport provider layer for RPC servers. This allows network transport drivers to be dynamically loaded and registered, thereby extending the set of transports that can carry RPC. This patchset includes a transport provider driver for TCP and UDP sockets.
This version of the patchset is functionally equivalent to the preceding patchset and includes the following improvements:
- Fixed a bug in svc_create_socket that resulted in svc_xprt_received being called without holding the XPT_BUSY bit.
- Added a BUG_ON in svc_xprt_received to catch providers calling svc_xprt_received without holding the XPT_BUSY bit.
- Removed code setting the XPT_BUSY bit in the create path and moved this logic to common code.
- Cleaned up the SMP locking strategy comment and moved it to svc_xprt.c
- Changed return type of svc_unreg_xprt_class to void
- Simplified transport class removal logic
- Fixed a white-space abuse issue
- Made some style changes to the patch comments
- Created a separate patch that moves the connection limit code to generic logic
- Created a separate patch that moves the call to svc_xprt_received out of tcp_accept and into common logic
- Created a separate patch for removal of unnecessary call to svc_sock_enqueue in svc_tcp_accept function
- Removed silly BUG_ON from kref svc_xprt_free callback function
- Moved unlock of svc_xprt_class list to after the try_module_lock call.
- Refactored svc_create_xprt logic
- Removed unnecessary call to svc_find_xprt in portlist code
Signature · 1 line
Signed-off-by: Tom Tucker <[email protected]>