diff options
author | Ming Lei <ming.lei@canonical.com> | 2014-12-03 19:38:04 +0800 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-12-08 21:37:08 -0700 |
commit | 19c66e59ce57e7b181625cbb408d48eb10837763 (patch) | |
tree | 4eb5617cb983d279305e7b9f7e65cf61f0175d2a /block/blk-core.c | |
parent | 080ff3511450fd73948697fef34a3cc382675b59 (diff) | |
download | lwn-19c66e59ce57e7b181625cbb408d48eb10837763.tar.gz lwn-19c66e59ce57e7b181625cbb408d48eb10837763.zip |
blk-mq: prevent unmapped hw queue from being scheduled
When one hardware queue has no mapped software queues, it
shouldn't have been scheduled. Otherwise WARNING or OOPS
can triggered.
blk_mq_hw_queue_mapped() helper is introduce for fixing
the problem.
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions