diff options
| author | Ming Lei <[email protected]> | 2019-07-24 11:48:42 +0800 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2019-08-04 21:41:29 -0600 |
| commit | 622b8b6893ff3096e130250c1298adf57a0cab03 (patch) | |
| tree | 43fe9b701fb75bdb6755a6f5c0849ad0605bf450 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 78ca40724713bd422873cb4ebee86f9f499650f7 (diff) | |
nvme: wait until all completed request's complete fn is called
When aborting in-flight request for recovering controller, we have
to make sure that queue's complete function is called on completed
request before moving on. Otherwise, for example, the warning of
WARN_ON_ONCE(qp->mrs_used > 0) in ib_destroy_qp_user() may be
triggered on nvme-rdma.
Fix this issue by using blk_mq_tagset_wait_completed_request.
Cc: Max Gurtovoy <[email protected]>
Cc: Sagi Grimberg <[email protected]>
Cc: Keith Busch <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions