diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2016-03-01 13:05:54 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2016-03-01 13:06:34 -0800 |
commit | f6763c29ab86c3ee27760a06e07bbeab47635b61 (patch) | |
tree | 34252ca2fcf9334f18cb2be875ecf340bb0502ba /net/rxrpc | |
parent | cf570a93748ab95cf5d13d3d8058875f970f3a66 (diff) | |
download | op-kernel-dev-f6763c29ab86c3ee27760a06e07bbeab47635b61.zip op-kernel-dev-f6763c29ab86c3ee27760a06e07bbeab47635b61.tar.gz |
svcrdma: Do not send Write chunk XDR pad with inline content
The NFS server's XDR encoders adds an XDR pad for content in the
xdr_buf page list at the beginning of the xdr_buf's tail buffer.
On RDMA transports, Write chunks are sent separately and without an
XDR pad.
If a Write chunk is being sent, strip off the pad in the tail buffer
so that inline content following the Write chunk remains XDR-aligned
when it is sent to the client.
BugLink: https://bugzilla.linux-nfs.org/show_bug.cgi?id=294
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/rxrpc')
0 files changed, 0 insertions, 0 deletions