commit | 5aceaeb26394538858a9dbae5830d628469a44cf | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Dec 17 12:16:26 2018 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Dec 17 05:44:45 2018 -0700 |
tree | e99f8902a6bcaa8eebaae309059b239f966eaac6 | |
parent | 346fc1089e5d4734990b4b6c3cd0cdeae9ae482d [diff] |
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>