diff options
author | Jens Axboe <axboe@fb.com> | 2014-03-20 20:29:18 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-03-20 20:31:44 +0100 |
commit | 676141e48af7463717896352e69c10f945ac22dd (patch) | |
tree | 6c583ea4dac7a9cba9ddd44a194984ee3d1a4ada /block/blk-mq.h | |
parent | blk-mq: fix wrong usage of hctx->state vs hctx->flags (diff) | |
download | linux-676141e48af7463717896352e69c10f945ac22dd.tar.xz linux-676141e48af7463717896352e69c10f945ac22dd.zip |
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.h')
-rw-r--r-- | block/blk-mq.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/block/blk-mq.h b/block/blk-mq.h index ed0035cd458e..361f9343dab1 100644 --- a/block/blk-mq.h +++ b/block/blk-mq.h @@ -40,6 +40,8 @@ void blk_mq_init_cpu_notifier(struct blk_mq_cpu_notifier *notifier, void blk_mq_register_cpu_notifier(struct blk_mq_cpu_notifier *notifier); void blk_mq_unregister_cpu_notifier(struct blk_mq_cpu_notifier *notifier); void blk_mq_cpu_init(void); +void blk_mq_enable_hotplug(void); +void blk_mq_disable_hotplug(void); /* * CPU -> queue mappings |