diff options
| author | Chao Leng <[email protected]> | 2022-11-01 16:00:50 +0100 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-11-02 08:35:34 -0600 |
| commit | 98d81f0df70ce6fc48517d938026e3c684b9051a (patch) | |
| tree | 75d59700b5af1bb8b894720f20e98adfe37a52ed /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 414dd48e882c5a39e7bd01b096ee6497eb3314b0 (diff) | |
nvme: use blk_mq_[un]quiesce_tagset
All controller namespaces share the same tagset, so we can use this
interface which does the optimal operation for parallel quiesce based on
the tagset type(e.g. blocking tagsets and non-blocking tagsets).
nvme connect_q should not be quiesced when quiesce tagset, so set the
QUEUE_FLAG_SKIP_TAGSET_QUIESCE to skip it when init connect_q.
Currently we use NVME_NS_STOPPED to ensure pairing quiescing and
unquiescing. If use blk_mq_[un]quiesce_tagset, NVME_NS_STOPPED will be
invalided, so introduce NVME_CTRL_STOPPED to replace NVME_NS_STOPPED.
In addition, we never really quiesce a single namespace. It is a better
choice to move the flag from ns to ctrl.
Signed-off-by: Chao Leng <[email protected]>
[hch: rebased on top of prep patches]
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Keith Busch <[email protected]>
Reviewed-by: Chao Leng <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions