diff options
author | Jens Axboe <axboe@fb.com> | 2014-03-20 13:29:18 -0600 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-03-20 13:31:44 -0600 |
commit | 676141e48af7463717896352e69c10f945ac22dd (patch) | |
tree | 6c583ea4dac7a9cba9ddd44a194984ee3d1a4ada /block/blk-mq-cpumap.c | |
parent | 5d12f905cc50c0810628d0deedd478ec2db48659 (diff) | |
download | linux-next-676141e48af7463717896352e69c10f945ac22dd.tar.gz |
blk-mq: don't dump CPU -> hw queue map on driver load
Now that we are out of initial debug/bringup mode, remove
the verbose dump of the mapping table.
Provide the mapping table in sysfs, under the hardware queue
directory, in the cpu_list file.
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-mq-cpumap.c')
-rw-r--r-- | block/blk-mq-cpumap.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/block/blk-mq-cpumap.c b/block/blk-mq-cpumap.c index f8721278601c..097921329619 100644 --- a/block/blk-mq-cpumap.c +++ b/block/blk-mq-cpumap.c @@ -9,15 +9,6 @@ #include "blk.h" #include "blk-mq.h" -static void show_map(unsigned int *map, unsigned int nr) -{ - int i; - - pr_info("blk-mq: CPU -> queue map\n"); - for_each_online_cpu(i) - pr_info(" CPU%2u -> Queue %u\n", i, map[i]); -} - static int cpu_to_queue_index(unsigned int nr_cpus, unsigned int nr_queues, const int cpu) { @@ -85,7 +76,6 @@ int blk_mq_update_queue_map(unsigned int *map, unsigned int nr_queues) map[i] = map[first_sibling]; } - show_map(map, nr_cpus); free_cpumask_var(cpus); return 0; } |