diff options
author | Jens Axboe <axboe@fb.com> | 2014-03-20 15:29:18 -0400 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-03-20 15:31:44 -0400 |
commit | 676141e48af7463717896352e69c10f945ac22dd (patch) | |
tree | 6c583ea4dac7a9cba9ddd44a194984ee3d1a4ada /block/blk-mq-cpumap.c | |
parent | 5d12f905cc50c0810628d0deedd478ec2db48659 (diff) |
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 @@ | |||
9 | #include "blk.h" | 9 | #include "blk.h" |
10 | #include "blk-mq.h" | 10 | #include "blk-mq.h" |
11 | 11 | ||
12 | static void show_map(unsigned int *map, unsigned int nr) | ||
13 | { | ||
14 | int i; | ||
15 | |||
16 | pr_info("blk-mq: CPU -> queue map\n"); | ||
17 | for_each_online_cpu(i) | ||
18 | pr_info(" CPU%2u -> Queue %u\n", i, map[i]); | ||
19 | } | ||
20 | |||
21 | static int cpu_to_queue_index(unsigned int nr_cpus, unsigned int nr_queues, | 12 | static int cpu_to_queue_index(unsigned int nr_cpus, unsigned int nr_queues, |
22 | const int cpu) | 13 | const int cpu) |
23 | { | 14 | { |
@@ -85,7 +76,6 @@ int blk_mq_update_queue_map(unsigned int *map, unsigned int nr_queues) | |||
85 | map[i] = map[first_sibling]; | 76 | map[i] = map[first_sibling]; |
86 | } | 77 | } |
87 | 78 | ||
88 | show_map(map, nr_cpus); | ||
89 | free_cpumask_var(cpus); | 79 | free_cpumask_var(cpus); |
90 | return 0; | 80 | return 0; |
91 | } | 81 | } |