aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2018-04-08 17:48:08 +0800
committerJens Axboe <[email protected]>2018-04-10 08:38:46 -0600
commitbffa9909a6b48d8ca3398dec601bc9162a4020c4 (patch)
tree3740c4356291dd9a361ff7647a7c4543779632d3 /tools/perf/scripts/python/export-to-postgresql.py
parenta1c735fb790745f94a359df45c11df4a69760389 (diff)
blk-mq: don't keep offline CPUs mapped to hctx 0
From commit 4b855ad37194 ("blk-mq: Create hctx for each present CPU), blk-mq doesn't remap queue after CPU topo is changed, that said when some of these offline CPUs become online, they are still mapped to hctx 0, then hctx 0 may become the bottleneck of IO dispatch and completion. This patch sets up the mapping from the beginning, and aligns to queue mapping for PCI device (blk_mq_pci_map_queues()). Cc: Stefan Haberland <[email protected]> Cc: Keith Busch <[email protected]> Cc: [email protected] Fixes: 4b855ad37194 ("blk-mq: Create hctx for each present CPU) Tested-by: Christian Borntraeger <[email protected]> Reviewed-by: 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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions