[PATCH v3 0/2] Fix write pad
From: Chuck Lever <hidden>
Date: 2021-10-05 14:17:56
Also in:
linux-nfs
Hi Anna-
Can you include this series in your next pull request to Trond?
Trond,
This series addresses your concern about xprtrdma using the
rq_rcv_buf.tail vector in some cases to receive an XDR pad. It has
been tested with a legacy Solaris server, in addition to the usual
tests I run.
We haven't yet confirmed whether this addresses the GPU-Direct
issue, but since that is an out-of-tree user that depends on
unsupported kernel facilities, I regard that confirmation as only
"nice to have", not mandatory. We are confident this change will
address that situation, based on our understanding of the issue.
Changes since v2:
- Address more review comments from Tom Talpey
---
Chuck Lever (2):
xprtrdma: Provide a buffer to pad Write chunks of unaligned length
xprtrdma: Remove rpcrdma_ep::re_implicit_roundup
include/trace/events/rpcrdma.h | 13 +++++++++---
net/sunrpc/xprtrdma/frwr_ops.c | 35 +++++++++++++++++++++++++++++++++
net/sunrpc/xprtrdma/rpc_rdma.c | 23 +++++++++++++---------
net/sunrpc/xprtrdma/verbs.c | 3 +--
net/sunrpc/xprtrdma/xprt_rdma.h | 6 +++++-
5 files changed, 65 insertions(+), 15 deletions(-)
--
Chuck Lever