aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChuck Lever <[email protected]>2015-05-26 11:52:16 -0400
committerAnna Schumaker <[email protected]>2015-06-12 13:10:36 -0400
commitfc7fbb59e70c65e2bd6170a6de139d5de62dd2be (patch)
tree38ac5b7609a68e073e33a6c6c5c705bf558eaddb /scripts
parent346aa66b2ab7988ca105f7fee5a968c11712b0d8 (diff)
xprtrdma: Acquire FMRs in rpcrdma_fmr_register_external()
Acquiring 64 FMRs in rpcrdma_buffer_get() while holding the buffer pool lock is expensive, and unnecessary because FMR mode can transfer up to a 1MB payload using just a single ib_fmr. Instead, acquire ib_fmrs one-at-a-time as chunks are registered, and return them to rb_mws immediately during deregistration. Signed-off-by: Chuck Lever <[email protected]> Reviewed-by: Steve Wise <[email protected]> Tested-By: Devesh Sharma <[email protected]> Reviewed-by: Doug Ledford <[email protected]> Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions