commit | 93252632e828da3e90241a1c0e766556abf71598 | [log] [tgz] |
---|---|---|
author | Omar Sandoval <osandov@fb.com> | Wed Apr 05 12:01:31 2017 -0700 |
committer | Jens Axboe <axboe@fb.com> | Fri Apr 07 08:56:46 2017 -0600 |
tree | 388756bb6862ea8943c87240644a33feb8c5c402 | |
parent | 6917ff0b5bd4139e08a3f3146529dcb3b95ba7a6 [diff] |
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>