diff options
author | Bart Van Assche <[email protected]> | 2016-05-12 10:50:35 -0700 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2016-05-13 13:46:51 -0400 |
commit | 509c5f33f4f6dc328d96bf4099ef6589739f22d4 (patch) | |
tree | 4ed2e3b56ebdcf5976c5427c8de1539c211e5826 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 835ee624c99d0b63797babf25abe208182bb88bf (diff) |
IB/srp: Prevent mapping failures
If both max_sectors and the queue_depth are high enough it can
happen that the MR pool is depleted temporarily. This causes
the SRP initiator to report mapping failures. Although the SRP
initiator recovers from such mapping failures, prevent that
this can happen by allocating more memory regions.
Additionally, only enable memory registration if at least two
pages can be registered per memory region.
Reported-by: Laurence Oberman <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Tested-by: Laurence Oberman <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Sagi Grimberg <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions