summaryrefslogtreecommitdiffstats
path: root/arch/mips/sgi-ip27
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2018-12-17 18:28:56 +0100
committerJens Axboe <axboe@kernel.dk>2018-12-17 19:19:55 +0100
commite5edd5f298fafda28284bafb8371e6f0b7681035 (patch)
treea61df6c3d7132d57294cd0dd2be47ae067afcfed /arch/mips/sgi-ip27
parentblock: fix blk-iolatency accounting underflow (diff)
downloadlinux-e5edd5f298fafda28284bafb8371e6f0b7681035.tar.xz
linux-e5edd5f298fafda28284bafb8371e6f0b7681035.zip
blk-mq: skip zero-queue maps in blk_mq_map_swqueue
From 7e849dd9cf37 ("nvme-pci: don't share queue maps"), the mapping table won't be initialized actually if map->nr_queues is zero, so we can't use blk_mq_map_queue_type() to retrieve hctx any more. This way still may cause broken mapping, fix it by skipping zero-queues maps in blk_mq_map_swqueue(). Cc: Jeff Moyer <jmoyer@redhat.com> Cc: Mike Snitzer <snitzer@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'arch/mips/sgi-ip27')
0 files changed, 0 insertions, 0 deletions