diff options
author | 2017-10-20 10:48:03 -0400 | |
---|---|---|
committer | 2017-11-17 13:47:56 -0500 | |
commit | a062a2a3efc5fece106d96d4a5165f3f23b5cbda (patch) | |
tree | efb5b6a91d7a1b06154d85db7643861ff8735159 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xprtrdma: Change return value of rpcrdma_prepare_send_sges() (diff) | |
download | wireguard-linux-a062a2a3efc5fece106d96d4a5165f3f23b5cbda.tar.xz wireguard-linux-a062a2a3efc5fece106d96d4a5165f3f23b5cbda.zip |
xprtrdma: "Unoptimize" rpcrdma_prepare_hdr_sge()
Commit 655fec6987be ("xprtrdma: Use gathered Send for large inline
messages") assumed that, since the zeroeth element of the Send SGE
array always pointed to req->rl_rdmabuf, it needed to be initialized
just once. This was a valid assumption because the Send SGE array
and rl_rdmabuf both live in the same rpcrdma_req.
In a subsequent patch, the Send SGE array will be separated from the
rpcrdma_req, so the zeroeth element of the SGE array needs to be
initialized every time.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions