diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2021-10-05 10:17:59 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-10-20 18:09:54 -0400 |
commit | 21037b8c2258ec40de3b31be9ced43ceb3b784f7 (patch) | |
tree | c574cc4e7901a1611311432edd6b8d4ea398c6b8 /fs/nfs/nfstrace.h | |
parent | d5f458a979650e5ed37212f6134e4ee2b28cb6ed (diff) | |
download | lwn-21037b8c2258ec40de3b31be9ced43ceb3b784f7.tar.gz lwn-21037b8c2258ec40de3b31be9ced43ceb3b784f7.zip |
xprtrdma: Provide a buffer to pad Write chunks of unaligned length
This is a buffer to be left persistently registered while a
connection is up. Connection tear-down will automatically DMA-unmap,
invalidate, and dereg the MR. A persistently registered buffer is
lower in cost to provide, and it can never be coalesced into the
RDMA segment that carries the data payload.
An RPC that provisions a Write chunk with a non-aligned length now
uses this MR rather than the tail buffer of the RPC's rq_rcv_buf.
Reviewed-By: Tom Talpey <tom@talpey.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/nfstrace.h')
0 files changed, 0 insertions, 0 deletions