summaryrefslogtreecommitdiff
path: root/COPYING
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2020-12-27 14:34:58 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-02-04 01:28:44 +0300
commit20786fdd2fb0c648e8c4895d3839d57b1d78375f (patch)
tree59894bf3a64a7e208b5fd24c4d7aee2efd91a509 /COPYING
parent7d6e01e275604c997a08a3fe2ddfab3ddbaa5488 (diff)
downloadlinux-20786fdd2fb0c648e8c4895d3839d57b1d78375f.tar.xz
blk-mq: test QUEUE_FLAG_HCTX_ACTIVE for sbitmap_shared in hctx_may_queue
commit 2569063c7140c65a0d0ad075e95ddfbcda9ba3c0 upstream. In case of blk_mq_is_sbitmap_shared(), we should test QUEUE_FLAG_HCTX_ACTIVE against q->queue_flags instead of BLK_MQ_S_TAG_ACTIVE. So fix it. Cc: John Garry <john.garry@huawei.com> Cc: Kashyap Desai <kashyap.desai@broadcom.com> Fixes: f1b49fdc1c64 ("blk-mq: Record active_queues_shared_sbitmap per tag_set for when using shared sbitmap") Signed-off-by: Ming Lei <ming.lei@redhat.com> Reviewed-by: John Garry <john.garry@huawei.com> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions