NFS/RDMA server patches for 4.2
Subsystems (3)
v3 cover NFS/RDMA server patches for 4.2
Hi Bruce-
This is a simple update of last week's v2, just to keep up to date with review comments. You can find these in my git repo in the "nfsd-rdma-for-4.2" topic branch. See:
git://git.linux-nfs.org/projects/cel/cel-2.6.git
Changes since v2:
- Rebased on v4.1-rc6
- Dropped 2/10, 8/10, and 9/10, as discussed
Changes since v1:
- Rebased on v4.1-rc5
- Add patch to merge xprtrdma.ko and svcrdma.ko into one module
---
Chuck Lever (7):
rpcrdma: Merge svcrdma and xprtrdma modules into one
svcrdma: Add a separate "max data segs macro for svcrdma
svcrdma: Replace GFP_KERNEL in a loop with GFP_NOFAIL
svcrdma: Keep rpcrdma_msg fields in network byte-order
svcrdma: Remove svc_rdma_xdr_decode_deferred_req()
SUNRPC: Move EXPORT_SYMBOL for svc_process
svcrdma: Fix byte-swapping in svc_rdma_sendto.c
include/linux/sunrpc/svc_rdma.h | 11 ++ net/sunrpc/Kconfig | 28 ++---- net/sunrpc/Makefile | 3 - net/sunrpc/svc.c | 2 net/sunrpc/xprtrdma/Makefile | 14 +-- net/sunrpc/xprtrdma/module.c | 46 ++++++++++ net/sunrpc/xprtrdma/svc_rdma.c | 8 -- net/sunrpc/xprtrdma/svc_rdma_marshal.c | 140 ++++++++---------------------- net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 2 net/sunrpc/xprtrdma/svc_rdma_sendto.c | 16 ++- net/sunrpc/xprtrdma/svc_rdma_transport.c | 36 ++------ net/sunrpc/xprtrdma/transport.c | 13 --- net/sunrpc/xprtrdma/xprt_rdma.h | 11 +- 13 files changed, 135 insertions(+), 195 deletions(-) create mode 100644 net/sunrpc/xprtrdma/module.c
Signature · 1 line
Chuck Lever
PATCH v3 1/7 svcrdma: Fix byte-swapping in svc_rdma_sendto.c
In send_write_chunks(), we have:
for (xdr_off = rqstp->rq_res.head[0].iov_len, chunk_no = 0;
xfer_len && chunk_no < arg_ary->wc_nchunks;
chunk_no++) {
. . .
}Note that arg_ary->wc_nchunk is in network byte-order. For the comparison to work correctly, both have to be in native byte-order.
In send_reply_chunks, we have:
write_len = min(xfer_len, htonl(ch->rs_length));
xfer_len is in native byte-order, and ch->rs_length is in network byte-order. be32_to_cpu() is the correct byte swap for ch->rs_length.
As an additional clean up, replace ntohl() with be32_to_cpu() in a few other places.
This appears to address a problem with large rsize hangs while using PHYSICAL memory registration. I suspect that is the only registration mode that uses more than one chunk element.
---
net/sunrpc/xprtrdma/svc_rdma_sendto.c | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-)
net/sunrpc/xprtrdma/svc_rdma_sendto.c +8 -6
@@ -240,6 +240,7 @@ static int send_write_chunks(struct svcxprt_rdma *xprt,u32 xdr_off;int chunk_off;int chunk_no; +int nchunks;struct rpcrdma_write_array *arg_ary;struct rpcrdma_write_array *res_ary;int ret;
@@ -251,14 +252,15 @@ static int send_write_chunks(struct svcxprt_rdma *xprt, &rdma_resp->rm_body.rm_chunks[1 ];/* Write chunks start at the pagelist */ + nchunks =be32_to_cpu (arg_ary->wc_nchunks);for (xdr_off = rqstp->rq_res.head[0 ].iov_len, chunk_no =0 ; - xfer_len && chunk_no < arg_ary->wc_nchunks; + xfer_len && chunk_no < nchunks; chunk_no++) {struct rpcrdma_segment *arg_ch;u64 rs_offset; arg_ch = &arg_ary->wc_array[chunk_no].wc_target; - write_len =min (xfer_len,ntohl (arg_ch->rs_length)); + write_len =min (xfer_len,be32_to_cpu (arg_ch->rs_length));/* Prepare the response chunk given the length actually * written */
@@ -270,7 +272,7 @@ static int send_write_chunks(struct svcxprt_rdma *xprt, chunk_off =0 ;while (write_len) { ret = send_write(xprt, rqstp, - ntohl(arg_ch->rs_handle), + be32_to_cpu(arg_ch->rs_handle), rs_offset + chunk_off, xdr_off, write_len,
@@ -318,13 +320,13 @@ static int send_reply_chunks(struct svcxprt_rdma *xprt, &rdma_resp->rm_body.rm_chunks[2 ];/* xdr offset starts at RPC message */ - nchunks =ntohl (arg_ary->wc_nchunks); + nchunks =be32_to_cpu (arg_ary->wc_nchunks);for (xdr_off =0 , chunk_no =0 ; xfer_len && chunk_no < nchunks; chunk_no++) {u64 rs_offset; ch = &arg_ary->wc_array[chunk_no].wc_target; - write_len =min (xfer_len,htonl (ch->rs_length)); + write_len =min (xfer_len,be32_to_cpu (ch->rs_length));/* Prepare the reply chunk given the length actually * written */
@@ -335,7 +337,7 @@ static int send_reply_chunks(struct svcxprt_rdma *xprt, chunk_off =0 ;while (write_len) { ret = send_write(xprt, rqstp, - ntohl(ch->rs_handle), + be32_to_cpu(ch->rs_handle), rs_offset + chunk_off, xdr_off, write_len,
PATCH v3 2/7 SUNRPC: Move EXPORT_SYMBOL for svc_process
In reply to Chuck LeverClean up.
---
net/sunrpc/svc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
net/sunrpc/svc.c +1 -1
@@ -1290,7 +1290,6 @@ err_bad:svc_putnl (resv,ntohl (rpc_stat)); goto sendit; } -EXPORT_SYMBOL_GPL (svc_process);/* * Process the RPC request.
@@ -1338,6 +1337,7 @@ out_drop:svc_drop (rqstp);return 0 ; } +EXPORT_SYMBOL_GPL (svc_process);#if defined(CONFIG_SUNRPC_BACKCHANNEL )/*
PATCH v3 3/7 svcrdma: Remove svc_rdma_xdr_decode_deferred_req()
In reply to Chuck Leversvc_rdma_xdr_decode_deferred_req() indexes an array with an un-byte-swapped value off the wire. Fortunately this function isn't used anywhere, so simply remove it.
---
include/linux/sunrpc/svc_rdma.h | 1 - net/sunrpc/xprtrdma/svc_rdma_marshal.c | 56 -------------------------------- 2 files changed, 0 insertions(+), 57 deletions(-)
include/linux/sunrpc/svc_rdma.h +0 -1
@@ -182,7 +182,6 @@ struct svcxprt_rdma {/* svc_rdma_marshal.c */ extern int svc_rdma_xdr_decode_req (struct rpcrdma_msg **,struct svc_rqst *); -extern int svc_rdma_xdr_decode_deferred_req (struct svc_rqst *);extern int svc_rdma_xdr_encode_error (struct svcxprt_rdma *,struct rpcrdma_msg *,enum rpcrdma_errcode ,u32 *);
net/sunrpc/xprtrdma/svc_rdma_marshal.c +0 -56
62 lines not on this page · raw message
PATCH v3 4/7 svcrdma: Keep rpcrdma_msg fields in network byte-order
In reply to Chuck LeverFields in struct rpcrdma_msg are __be32. Don't byte-swap these fields when decoding RPC calls and then swap them back for the reply. For the most part, they can be left alone.
---
include/linux/sunrpc/svc_rdma.h | 2 - net/sunrpc/xprtrdma/svc_rdma_marshal.c | 84 ++++++++++++++---------------- net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 2 - net/sunrpc/xprtrdma/svc_rdma_transport.c | 2 - 4 files changed, 42 insertions(+), 48 deletions(-)
include/linux/sunrpc/svc_rdma.h +1 -1
@@ -184,7 +184,7 @@ struct svcxprt_rdma {extern int svc_rdma_xdr_decode_req (struct rpcrdma_msg **,struct svc_rqst *);extern int svc_rdma_xdr_encode_error (struct svcxprt_rdma *,struct rpcrdma_msg *, -enum rpcrdma_errcode ,u32 *); +enum rpcrdma_errcode ,__be32 *);extern void svc_rdma_xdr_encode_write_list (struct rpcrdma_msg *,int );extern void svc_rdma_xdr_encode_reply_array (struct rpcrdma_write_array *,int ); extern void svc_rdma_xdr_encode_array_chunk(struct rpcrdma_write_array *, int,
net/sunrpc/xprtrdma/svc_rdma_marshal.c +39 -45
216 lines not on this page · raw message
net/sunrpc/xprtrdma/svc_rdma_recvfrom.c +1 -1
@@ -85,7 +85,7 @@ static void rdma_build_arg_xdr(struct svc_rqst *rqstp,/* RDMA_NOMSG: RDMA READ data should land just after RDMA RECV data */ rmsgp = (struct rpcrdma_msg *)rqstp->rq_arg.head[0 ].iov_base; -if (be32_to_cpu (rmsgp->rm_type) ==RDMA_NOMSG ) +if (rmsgp->rm_type == rdma_nomsg) rqstp->rq_arg.pages = &rqstp->rq_pages[0 ];else rqstp->rq_arg.pages = &rqstp->rq_pages[1 ];
net/sunrpc/xprtrdma/svc_rdma_transport.c +1 -1
@@ -1319,7 +1319,7 @@ void svc_rdma_send_error(struct svcxprt_rdma *xprt, struct rpcrdma_msg *rmsgp,struct ib_send_wr err_wr;struct page *p;struct svc_rdma_op_ctxt *ctxt; -u32 *va; +__be32 *va;int length;int ret;
PATCH v3 5/7 svcrdma: Replace GFP_KERNEL in a loop with GFP_NOFAIL
In reply to Chuck LeverAt the 2015 LSF/MM, it was requested that memory allocation call sites that request GFP_KERNEL allocations in a loop should be annotated with __GFP_NOFAIL.
---
include/linux/sunrpc/svc_rdma.h | 1 - net/sunrpc/xprtrdma/svc_rdma_sendto.c | 2 +- net/sunrpc/xprtrdma/svc_rdma_transport.c | 32 ++++++------------------------ 3 files changed, 7 insertions(+), 28 deletions(-)
include/linux/sunrpc/svc_rdma.h +0 -1
@@ -211,7 +211,6 @@ extern int svc_rdma_sendto(struct svc_rqst *);extern int svc_rdma_send (struct svcxprt_rdma *,struct ib_send_wr *);extern void svc_rdma_send_error (struct svcxprt_rdma *,struct rpcrdma_msg *,enum rpcrdma_errcode ); -struct page *svc_rdma_get_page (void );extern int svc_rdma_post_recv (struct svcxprt_rdma *);extern int svc_rdma_create_listen (struct svc_serv *,int ,struct sockaddr *);extern struct svc_rdma_op_ctxt *svc_rdma_get_context (struct svcxprt_rdma *);
net/sunrpc/xprtrdma/svc_rdma_sendto.c +1 -1
@@ -517,7 +517,7 @@ int svc_rdma_sendto(struct svc_rqst *rqstp) inline_bytes = rqstp->rq_res.len;/* Create the RDMA response header */ - res_page =svc_rdma_get_page (); + res_page =alloc_page (GFP_KERNEL | __GFP_NOFAIL); rdma_resp =page_address (res_page); reply_ary =svc_rdma_get_reply_array (rdma_argp);if (reply_ary)
net/sunrpc/xprtrdma/svc_rdma_transport.c +6 -26
@@ -99,12 +99,8 @@ struct svc_rdma_op_ctxt *svc_rdma_get_context(struct svcxprt_rdma *xprt) {struct svc_rdma_op_ctxt *ctxt; -while (1 ) { - ctxt =kmem_cache_alloc (svc_rdma_ctxt_cachep,GFP_KERNEL ); -if (ctxt) -break ; -schedule_timeout_uninterruptible (msecs_to_jiffies (500 )); - } + ctxt =kmem_cache_alloc (svc_rdma_ctxt_cachep, +GFP_KERNEL | __GFP_NOFAIL); ctxt->xprt = xprt;INIT_LIST_HEAD (&ctxt->dto_q); ctxt->count =0 ;
@@ -156,12 +152,8 @@ void svc_rdma_put_context(struct svc_rdma_op_ctxt *ctxt, int free_pages)struct svc_rdma_req_map *svc_rdma_get_req_map (void ) {struct svc_rdma_req_map *map; -while (1 ) { - map =kmem_cache_alloc (svc_rdma_map_cachep,GFP_KERNEL ); -if (map) -break ; -schedule_timeout_uninterruptible (msecs_to_jiffies (500 )); - } + map =kmem_cache_alloc (svc_rdma_map_cachep, +GFP_KERNEL | __GFP_NOFAIL); map->count =0 ;return map; }
@@ -490,18 +482,6 @@ static struct svcxprt_rdma *rdma_create_xprt(struct svc_serv *serv,return cma_xprt; } -struct page *svc_rdma_get_page (void ) -{ -struct page *page; - -while ((page =alloc_page (GFP_KERNEL )) ==NULL ) { -/* If we can't get memory, wait a bit and try again */ -printk (KERN_INFO "svcrdma: out of memory...retrying in 1s\n" ); -schedule_timeout_uninterruptible (msecs_to_jiffies (1000 )); - } -return page; -} -int svc_rdma_post_recv (struct svcxprt_rdma *xprt) {struct ib_recv_wr recv_wr, *bad_recv_wr;
@@ -520,7 +500,7 @@ int svc_rdma_post_recv(struct svcxprt_rdma *xprt)pr_err ("svcrdma: Too many sges (%d)\n" , sge_no); goto err_put_ctxt; } - page =svc_rdma_get_page (); + page =alloc_page (GFP_KERNEL | __GFP_NOFAIL); ctxt->pages[sge_no] = page; pa = ib_dma_map_page(xprt->sc_cm_id->device, page, 0, PAGE_SIZE,
@@ -1323,7 +1303,7 @@ void svc_rdma_send_error(struct svcxprt_rdma *xprt, struct rpcrdma_msg *rmsgp,int length;int ret; - p =svc_rdma_get_page (); + p =alloc_page (GFP_KERNEL | __GFP_NOFAIL); va =page_address (p);/* XDR encode error */
PATCH v3 6/7 svcrdma: Add a separate "max data segs macro for svcrdma
In reply to Chuck LeverThe server and client maximum are architecturally independent. Allow changing one without affecting the other.
---
include/linux/sunrpc/svc_rdma.h | 7 +++++++ net/sunrpc/xprtrdma/svc_rdma_transport.c | 2 +- net/sunrpc/xprtrdma/xprt_rdma.h | 6 ------ 3 files changed, 8 insertions(+), 7 deletions(-)
include/linux/sunrpc/svc_rdma.h +7 -0
@@ -172,6 +172,13 @@ struct svcxprt_rdma {#define RDMAXPRT_SQ_PENDING 2#define RDMAXPRT_CONN_PENDING 3 +#define RPCRDMA_MAX_SVC_SEGS (64)/* server max scatter/gather */ +#if RPCSVC_MAXPAYLOAD < (RPCRDMA_MAX_SVC_SEGS <<PAGE_SHIFT ) +#define RPCRDMA_MAXPAYLOAD RPCSVC_MAXPAYLOAD +#else +#define RPCRDMA_MAXPAYLOAD (RPCRDMA_MAX_SVC_SEGS << PAGE_SHIFT) +#endif +#define RPCRDMA_LISTEN_BACKLOG 10/* The default ORD value is based on two outstanding full-size writes with a * page size of 4k, or 32k * 2 ops / 4k = 16 outstanding RDMA_READ. */
net/sunrpc/xprtrdma/svc_rdma_transport.c +1 -1
@@ -91,7 +91,7 @@ struct svc_xprt_class svc_rdma_class = { .xcl_name = "rdma", .xcl_owner = THIS_MODULE, .xcl_ops = &svc_rdma_ops, - .xcl_max_payload = RPCSVC_MAXPAYLOAD_RDMA, + .xcl_max_payload = RPCRDMA_MAXPAYLOAD, .xcl_ident = XPRT_TRANSPORT_RDMA, };
net/sunrpc/xprtrdma/xprt_rdma.h +0 -6
@@ -487,10 +487,4 @@ extern struct kmem_cache *svc_rdma_ctxt_cachep;/* Workqueue created in svc_rdma.c */ extern struct workqueue_struct *svc_rdma_wq; -#if RPCSVC_MAXPAYLOAD < (RPCRDMA_MAX_DATA_SEGS <<PAGE_SHIFT ) -#define RPCSVC_MAXPAYLOAD_RDMA RPCSVC_MAXPAYLOAD -#else -#define RPCSVC_MAXPAYLOAD_RDMA (RPCRDMA_MAX_DATA_SEGS << PAGE_SHIFT) -#endif -#endif /* _LINUX_SUNRPC_XPRT_RDMA_H */
PATCH v3 7/7 rpcrdma: Merge svcrdma and xprtrdma modules into one
In reply to Chuck LeverBi-directional RPC support means code in svcrdma.ko invokes a bit of code in xprtrdma.ko, and vice versa. To avoid loader/linker loops, merge the server and client side modules together into a single module.
When backchannel capabilities are added, the combined module will register all needed transport capabilities so that Upper Layer consumers automatically have everything needed to create a bi-directional transport connection.
Module aliases are added for backwards compatibility with user space, which still may expect svcrdma.ko or xprtrdma.ko to be present.
This commit reverts commit 2e8c12e1b765 ("xprtrdma: add separate Kconfig options for NFSoRDMA client and server support") and provides a single CONFIG option for enabling the new module.
---
net/sunrpc/Kconfig | 28 +++++++----------------- net/sunrpc/Makefile | 3 +-- net/sunrpc/xprtrdma/Makefile | 14 +++++------- net/sunrpc/xprtrdma/module.c | 46 +++++++++++++++++++++++++++++++++++++++ net/sunrpc/xprtrdma/svc_rdma.c | 8 +------ net/sunrpc/xprtrdma/transport.c | 13 ++--------- net/sunrpc/xprtrdma/xprt_rdma.h | 5 ++++ 7 files changed, 69 insertions(+), 48 deletions(-) create mode 100644 net/sunrpc/xprtrdma/module.c
net/sunrpc/Kconfig +8 -20
@@ -48,28 +48,16 @@ config SUNRPC_DEBUG If unsure, say Y. -config SUNRPC_XPRT_RDMA_CLIENT - tristate "RPC over RDMA Client Support" +config SUNRPC_XPRT_RDMA + tristate "RPC-over-RDMA transport" depends on SUNRPC && INFINIBAND && INFINIBAND_ADDR_TRANS default SUNRPC && INFINIBAND help - This option allows the NFS client to support an RDMA-enabled - transport. + This option allows the NFS client and server to use RDMA + transports (InfiniBand, iWARP, or RoCE). - To compile RPC client RDMA transport support as a module, - choose M here: the module will be called xprtrdma. + To compile this support as a module, choose M. The module + will be called rpcrdma.ko. - If unsure, say N. - -config SUNRPC_XPRT_RDMA_SERVER - tristate "RPC over RDMA Server Support" - depends on SUNRPC && INFINIBAND && INFINIBAND_ADDR_TRANS - default SUNRPC && INFINIBAND - help - This option allows the NFS server to support an RDMA-enabled - transport. - - To compile RPC server RDMA transport support as a module, - choose M here: the module will be called svcrdma. - - If unsure, say N. + If unsure, or you know there is no RDMA capability on your + hardware platform, say N.
net/sunrpc/Makefile +1 -2
@@ -5,8 +5,7 @@ obj-$(CONFIG_SUNRPC) += sunrpc.o obj-$(CONFIG_SUNRPC_GSS) += auth_gss/ - -obj-y += xprtrdma/ +obj-$(CONFIG_SUNRPC_XPRT_RDMA) += xprtrdma/ sunrpc-y := clnt.o xprt.o socklib.o xprtsock.o sched.o \ auth.o auth_null.o auth_unix.o auth_generic.o \
net/sunrpc/xprtrdma/Makefile +6 -8
@@ -1,9 +1,7 @@ -obj-$(CONFIG_SUNRPC_XPRT_RDMA_CLIENT) += xprtrdma.o +obj-$(CONFIG_SUNRPC_XPRT_RDMA) += rpcrdma.o -xprtrdma-y := transport.o rpc_rdma.o verbs.o \ - fmr_ops.o frwr_ops.o physical_ops.o - -obj-$(CONFIG_SUNRPC_XPRT_RDMA_SERVER) += svcrdma.o - -svcrdma-y := svc_rdma.o svc_rdma_transport.o \ - svc_rdma_marshal.o svc_rdma_sendto.o svc_rdma_recvfrom.o +rpcrdma-y := transport.o rpc_rdma.o verbs.o \ + fmr_ops.o frwr_ops.o physical_ops.o \ + svc_rdma.o svc_rdma_transport.o \ + svc_rdma_marshal.o svc_rdma_sendto.o svc_rdma_recvfrom.o \ + module.o
net/sunrpc/xprtrdma/module.c new file +46 -0
46 lines not on this page · raw message
net/sunrpc/xprtrdma/svc_rdma.c +1 -7
@@ -38,8 +38,7 @@* * Author: Tom Tucker <[email protected]> */ -#include <linux/module.h> -#include <linux/init.h> +#include <linux/slab.h> #include <linux/fs.h> #include <linux/sysctl.h>
@@ -295,8 +294,3 @@ int svc_rdma_init(void)destroy_workqueue (svc_rdma_wq);return -ENOMEM ; } -MODULE_AUTHOR ("Tom Tucker <[email protected]>" ); -MODULE_DESCRIPTION ("SVC RDMA Transport" ); -MODULE_LICENSE ("Dual BSD/GPL" ); -module_init (svc_rdma_init); -module_exit (svc_rdma_cleanup);
net/sunrpc/xprtrdma/transport.c +2 -11
@@ -48,7 +48,6 @@*/ #include <linux/module.h> -#include <linux/init.h> #include <linux/slab.h> #include <linux/seq_file.h> #include <linux/sunrpc/addr.h>
@@ -59,11 +58,6 @@# define RPCDBG_FACILITY RPCDBG_TRANS#endif -MODULE_LICENSE ("Dual BSD/GPL" ); - -MODULE_DESCRIPTION ("RPC/RDMA Transport for Linux kernel NFS" ); -MODULE_AUTHOR ("Network Appliance, Inc." ); -/* * tunables */
@@ -711,7 +705,7 @@ static struct xprt_class xprt_rdma = { .setup = xprt_setup_rdma, }; -static void __exit xprt_rdma_cleanup(void) +void xprt_rdma_cleanup (void ) {int rc;
@@ -728,7 +722,7 @@ static void __exit xprt_rdma_cleanup(void) __func__, rc); } -static int __init xprt_rdma_init (void ) +int xprt_rdma_init (void ) {int rc;
@@ -753,6 +747,3 @@ static int __init xprt_rdma_init(void)#endif return 0 ; } - -module_init (xprt_rdma_init); -module_exit (xprt_rdma_cleanup);
net/sunrpc/xprtrdma/xprt_rdma.h +5 -0
@@ -480,6 +480,11 @@ void rpcrdma_reply_handler(struct rpcrdma_rep *);*/ int rpcrdma_marshal_req (struct rpc_rqst *); +/* RPC/RDMA module init - xprtrdma/transport.c +*/ +int xprt_rdma_init (void ); +void xprt_rdma_cleanup (void ); +/* Temporary NFS request map cache. Created in svc_rdma.c */ extern struct kmem_cache *svc_rdma_map_cachep;/* WR context cache. Created in svc_rdma.c */
Quoted 5 lines · Chuck Lever
Hi Bruce-
This is a simple update of last week's v2, just to keep up to date with review comments. You can find these in my git repo in the "nfsd-rdma-for-4.2" topic branch. See:
Thanks, applying for 4.2 pending some testing.
--b.
Quoted 43 lines
git://git.linux-nfs.org/projects/cel/cel-2.6.gitChanges since v2:
- Rebased on v4.1-rc6
- Dropped 2/10, 8/10, and 9/10, as discussedChanges since v1:
- Rebased on v4.1-rc5
- Add patch to merge xprtrdma.ko and svcrdma.ko into one module---
Chuck Lever (7):
rpcrdma: Merge svcrdma and xprtrdma modules into one
svcrdma: Add a separate "max data segs macro for svcrdma
svcrdma: ReplaceGFP_KERNELin a loop withGFP_NOFAIL
svcrdma: Keeprpcrdma_msgfields in network byte-order
svcrdma: Removesvc_rdma_xdr_decode_deferred_req()
SUNRPC: MoveEXPORT_SYMBOLforsvc_process
svcrdma: Fix byte-swapping insvc_rdma_sendto.cinclude/linux/sunrpc/svc_rdma.h | 11 ++ net/sunrpc/Kconfig | 28 ++---- net/sunrpc/Makefile | 3 - net/sunrpc/svc.c | 2 net/sunrpc/xprtrdma/Makefile | 14 +-- net/sunrpc/xprtrdma/module.c | 46 ++++++++++ net/sunrpc/xprtrdma/svc_rdma.c | 8 -- net/sunrpc/xprtrdma/svc_rdma_marshal.c | 140 ++++++++---------------------- net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 2 net/sunrpc/xprtrdma/svc_rdma_sendto.c | 16 ++- net/sunrpc/xprtrdma/svc_rdma_transport.c | 36 ++------ net/sunrpc/xprtrdma/transport.c | 13 --- net/sunrpc/xprtrdma/xprt_rdma.h | 11 +- 13 files changed, 135 insertions(+), 195 deletions(-) create mode 100644 net/sunrpc/xprtrdma/module.cSignature · 1 line
Chuck Lever