aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChuck Lever <[email protected]>2017-02-08 17:00:10 -0500
committerAnna Schumaker <[email protected]>2017-02-10 14:02:36 -0500
commit16f906d66cd76fb9895cbc628f447532a7ac1faa (patch)
treec43d002d1c1922281c3adf440282b4944814d0ac /tools/perf/scripts/python/export-to-postgresql.py
parentc95a3c6b88658bcb8f77f85f31a0b9d9036e8016 (diff)
xprtrdma: Reduce required number of send SGEs
The MAX_SEND_SGES check introduced in commit 655fec6987be ("xprtrdma: Use gathered Send for large inline messages") fails for devices that have a small max_sge. Instead of checking for a large fixed maximum number of SGEs, check for a minimum small number. RPC-over-RDMA will switch to using a Read chunk if an xdr_buf has more pages than can fit in the device's max_sge limit. This is considerably better than failing all together to mount the server. This fix supports devices that have as few as three send SGEs available. Reported-by: Selvin Xavier <[email protected]> Reported-by: Devesh Sharma <[email protected]> Reported-by: Honggang Li <[email protected]> Reported-by: Ram Amrani <[email protected]> Fixes: 655fec6987be ("xprtrdma: Use gathered Send for large ...") Cc: [email protected] # v4.9+ Tested-by: Honggang Li <[email protected]> Tested-by: Ram Amrani <[email protected]> Tested-by: Steve Wise <[email protected]> Reviewed-by: Parav Pandit <[email protected]> Signed-off-by: Chuck Lever <[email protected]> Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions