diff options
author | Bart Van Assche <[email protected]> | 2016-02-11 11:08:53 -0800 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2016-02-29 17:12:36 -0500 |
commit | aaf45bd83eba804adfa5c4ff5b17ca0c88884c6f (patch) | |
tree | 5bf8a5c34114da1c315d7ba59c422346d5879713 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8628991fbe6a9086189f55f0b33dee7f25108ecc (diff) |
IB/srpt: Detect session shutdown reliably
The Last WQE Reached event is only generated after one or more work
requests have been queued on the QP associated with a session. Since
session shutdown can start before any work requests have been queued,
use a zero-length RDMA write to wait until a QP has been drained.
Additionally, rework the code for closing and disconnecting a session.
Signed-off-by: Bart Van Assche <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Cc: Sagi Grimberg <[email protected]>
Cc: Alex Estrin <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions