summaryrefslogtreecommitdiff
path: root/block/blk-mq-sched.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-12-17 14:16:26 +0300
committerJens Axboe <axboe@kernel.dk>2018-12-17 15:44:45 +0300
commit5aceaeb26394538858a9dbae5830d628469a44cf (patch)
treee99f8902a6bcaa8eebaae309059b239f966eaac6 /block/blk-mq-sched.c
parent346fc1089e5d4734990b4b6c3cd0cdeae9ae482d (diff)
downloadlinux-5aceaeb26394538858a9dbae5830d628469a44cf.tar.xz
blk-mq: only dispatch to non-defauly queue maps if they have queues
We should check if a given queue map actually has queues enabled before dispatching to it. This allows drivers to not initialize optional but not used map types, which subsequently will allow fixing problems with queue map rebuilds for that case. Reviewed-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-sched.c')
0 files changed, 0 insertions, 0 deletions