summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2021-02-04 19:59:07 +0300
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2021-02-05 19:16:55 +0300
commit54e6aec57c251e36a4c3153ccfee9538f2ec1bcf (patch)
tree20d8947b8e9ea61f500af994e13ea66b8e632ce9 /tools/perf/scripts/python/exported-sql-viewer.py
parent9929f4adce3679b08262b9193fbe0e04d65abb11 (diff)
downloadlinux-54e6aec57c251e36a4c3153ccfee9538f2ec1bcf.tar.xz
xprtrdma: Simplify rpcrdma_convert_kvec() and frwr_map()
Clean up. Remove a conditional branch from the SGL set-up loop in frwr_map(): Instead of using either sg_set_page() or sg_set_buf(), initialize the mr_page field properly when rpcrdma_convert_kvec() converts the kvec to an SGL entry. frwr_map() can then invoke sg_set_page() unconditionally. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Reviewed-by: Tom Talpey <tom@talpey.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions