aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorChao Leng <lengchao@huawei.com>2022-11-01 16:00:49 +0100
committerJens Axboe <axboe@kernel.dk>2022-11-02 08:35:34 -0600
commit414dd48e882c5a39e7bd01b096ee6497eb3314b0 (patch)
treededdc62210709dd1a6bd5e2be0d93de3279c0ebb /tools/perf/scripts/python/export-to-sqlite.py
parentblk-mq: pass a tagset to blk_mq_wait_quiesce_done (diff)
downloadlinux-414dd48e882c5a39e7bd01b096ee6497eb3314b0.tar.gz
linux-414dd48e882c5a39e7bd01b096ee6497eb3314b0.zip
blk-mq: add tagset quiesce interface
Drivers that have shared tagsets may need to quiesce potentially a lot of request queues that all share a single tagset (e.g. nvme). Add an interface to quiesce all the queues on a given tagset. This interface is useful because it can speedup the quiesce by doing it in parallel. Because some queues should not need to be quiesced (e.g. the nvme connect_q) when quiescing the tagset, introduce a QUEUE_FLAG_SKIP_TAGSET_QUIESCE flag to allow this new interface to ski quiescing a particular queue. Signed-off-by: Chao Leng <lengchao@huawei.com> [hch: simplify for the per-tag_set srcu_struct] Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Keith Busch <kbusch@kernel.org> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Ming Lei <ming.lei@redhat.com> Reviewed-by: Chao Leng <lengchao@huawei.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Link: https://lore.kernel.org/r/20221101150050.3510-14-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions