svc: SVC Transport Switch
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest38 patches 44 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/38 | svc: Add an svc transport classinclude/ include/ net/ +1 more | +129 | 10 replies | |
| 2/38 | svc: Make svc_sock the tcp/udp transportinclude/ include/ net/ +1 more | +39 | 2 replies | |
| 3/38 | svc: Change the svc_sock in the rqstp structure to a transportinclude/ | +4 | 0 replies | |
| 4/38 | svc: Add a max payload value to the transportinclude/ net/ net/ | +4 | 0 replies | |
| 5/38 | svc: Move sk_sendto and sk_recvfrom to svc_xprt_classinclude/ include/ net/ | +8 | 0 replies | |
| 6/38 | svc: Add transport specific xpo_release functioninclude/ include/ net/ | +11 | 2 replies | |
| 7/38 | svc: Add per-transport delete functionsinclude/ net/ | +45 | 0 replies | |
| 8/38 | svc: Add xpo_prep_reply_hdrinclude/ net/ net/ | +21 | 0 replies | |
| 9/38 | svc: Add a transport function that checks for write spaceinclude/ net/ | +57 | 8 replies | |
| 10/38 | svc: Move close processing to a single placenet/ | +10 | 0 replies | |
| 11/38 | svc: Add xpo_accept transport functioninclude/ include/ net/ | +72 | 6 replies | |
| 12/38 | svc: Add a generic transport svc_create_xprt functioninclude/ net/ net/ | +85 | 0 replies | |
| 13/38 | svc: Change services to use new svc_create_xprt servicefs/ fs/ fs/ +3 more | +12 | 0 replies | |
| 14/38 | svc: Change sk_inuse to a krefinclude/ include/ net/ +1 more | +46 | 2 replies | |
| 15/38 | svc: Move sk_flags to the svc_xprt structureinclude/ include/ net/ | +87 | 0 replies | |
| 16/38 | svc: Move sk_server and sk_pool to svc_xprtinclude/ include/ net/ +1 more | +35 | 0 replies | |
| 17/38 | svc: Make close transport independentfs/ fs/ include/ +4 more | +63 | 0 replies | |
| 18/38 | svc: Move sk_reserved to svc_xprtinclude/ include/ net/ | +6 | 0 replies | |
| 19/38 | svc: Make the enqueue service transport neutral and export it.net/ | +48 | 0 replies | |
| 20/38 | svc: Make svc_send transport neutralinclude/ include/ net/ +1 more | +10 | 0 replies | |
| 21/38 | svc: Change svc_sock_received to svc_xprt_received and export itinclude/ net/ | +18 | 0 replies | |
| 22/38 | svc: Move accept call to svc_xprt_received to common codenet/ | +1 | 0 replies | |
| 23/38 | svc: Remove sk_lastrecvinclude/ net/ | +1 | 0 replies | |
| 24/38 | svc: Move the authinfo cache to svc_xprt.include/ include/ net/ +2 more | +49 | 0 replies | |
| 25/38 | svc: Make deferral processing xprt independentinclude/ include/ include/ +2 more | +29 | 0 replies | |
| 26/38 | svc: Move the sockaddr information to svc_xprtinclude/ include/ net/ +1 more | +110 | 0 replies | |
| 27/38 | svc: Make svc_sock_release svc_xprt_releasenet/ | +7 | 0 replies | |
| 28/38 | svc: Make svc_recv transport neutralnet/ | +31 | 0 replies | |
| 29/38 | svc: Make svc_age_temp_sockets svc_age_temp_transportsnet/ | +19 | 0 replies | |
| 30/38 | svc: Move common create logic to common codenet/ net/ | +27 | 3 replies | |
| 31/38 | svc: Removing remaining references to rq_sock in rqstpinclude/ net/ | +25 | 0 replies | |
| 32/38 | svc: Make svc_check_conn_limits xprt independentnet/ | +14 | 0 replies | |
| 33/38 | svc: Move the xprt independent code to the svc_xprt.c fileinclude/ net/ net/ | +776 | 0 replies | |
| 34/38 | svc: Add transport hdr size for defer/revisitinclude/ net/ net/ | +31 | 2 replies | |
| 35/38 | svc: Add /proc/sys/sunrpc/transport filesinclude/ net/ net/ | +60 | 0 replies | |
| 36/38 | svc: Add svc API that queries for a transport instancefs/ include/ net/ | +37 | 0 replies | |
| 37/38 | knfsd: Support adding transports by writing portlist filefs/ net/ | +52 | 4 replies | |
| 38/38 | svc: Add svc_xprt_names service to replace svc_sock_namesfs/ include/ net/ | +37 | 5 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/38] svc: SVC Transport Switch
The Server Side Transport switch implements a pluggable transport provider layer for RPC servers. This switch 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 includes the following updates to the original patch series:
- Changed transport hdr len fields and computations to use size_t
- Matched local variables to sign of socket specific write-space functions in xpo_wspace transport functions.
- Modified tcp_has_wspace function to include min_wspace consideration
- Changed address length functions to size_t
- Changed port helper function return types to unsigned short
- Changed error return from svc_addr_len to EAFNOSUPPORT from ENOTSUPP
- When modifying function prototypes or adding new functions adhered to convention of keeping signature on a single line.
- Removed debug printk from svc_send
- Created separate patch for change that moves the call to svc_xprt_received to common code for the accept path
- Combined the portlist update patches into a single patch and updated the error codes to give more helpful perror strings when writing garbage to the portlist file.
This patchset is based on 2.6.24-rc5 and has been tested on V2, V3 and V4 over the UDP, TCP and RDMA transports.
Signature · 1 line
Signed-off-by: Tom Tucker <[email protected]>