aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2018-12-18 01:28:56 +0800
committerJens Axboe <[email protected]>2018-12-17 11:19:55 -0700
commite5edd5f298fafda28284bafb8371e6f0b7681035 (patch)
treea61df6c3d7132d57294cd0dd2be47ae067afcfed /tools/perf/scripts/python/export-to-postgresql.py
parent13369816cb648f897ce9cbf57e55eeb742ce4eb3 (diff)
blk-mq: skip zero-queue maps in blk_mq_map_swqueue
From 7e849dd9cf37 ("nvme-pci: don't share queue maps"), the mapping table won't be initialized actually if map->nr_queues is zero, so we can't use blk_mq_map_queue_type() to retrieve hctx any more. This way still may cause broken mapping, fix it by skipping zero-queues maps in blk_mq_map_swqueue(). Cc: Jeff Moyer <[email protected]> Cc: Mike Snitzer <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Ming Lei <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions