From: Chuck Lever Date: Wed, 21 Jan 2015 16:04:16 +0000 (-0500) Subject: xprtrdma: Allocate RPC/RDMA send buffer separately from struct rpcrdma_req X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~120^2~28^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85275c874eaeb92fb2a78a1d4ebb1ff4b0f7b732;p=pandora-kernel.git xprtrdma: Allocate RPC/RDMA send buffer separately from struct rpcrdma_req The rl_base field is currently the buffer where each RPC/RDMA call header is built. The inline threshold is an agreed-on size limit to for RDMA SEND operations that pass between client and server. The sum of the RPC/RDMA header size and the RPC header size must be less than or equal to this threshold. Increasing the r/wsize maximum will require MAX_SEGS to grow significantly, but the inline threshold size won't change (both sides agree on it). The server's inline threshold doesn't change. Since an RPC/RDMA header can never be larger than the inline threshold, make all RPC/RDMA header buffers the size of the inline threshold. Signed-off-by: Chuck Lever Reviewed-by: Steve Wise Signed-off-by: Anna Schumaker --- Reading git-diff-tree failed