summaryrefslogtreecommitdiffstats
path: root/block/blk-sysfs.c
diff options
context:
space:
mode:
authorOmar Sandoval2017-04-05 21:01:31 +0200
committerJens Axboe2017-04-07 16:56:46 +0200
commit93252632e828da3e90241a1c0e766556abf71598 (patch)
tree388756bb6862ea8943c87240644a33feb8c5c402 /block/blk-sysfs.c
parentblk-mq-sched: refactor scheduler initialization (diff)
downloadkernel-qcow2-linux-93252632e828da3e90241a1c0e766556abf71598.tar.gz
kernel-qcow2-linux-93252632e828da3e90241a1c0e766556abf71598.tar.xz
kernel-qcow2-linux-93252632e828da3e90241a1c0e766556abf71598.zip
blk-mq-sched: set up scheduler tags when bringing up new queues
If a new hardware queue is added at runtime, we don't allocate scheduler tags for it, leading to a crash. This hooks up the scheduler framework to blk_mq_{init,exit}_hctx() to make sure everything gets properly initialized/freed. Signed-off-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-sysfs.c')
0 files changed, 0 insertions, 0 deletions