summaryrefslogtreecommitdiff
path: root/block/Makefile
diff options
context:
space:
mode:
authorKemeng Shi <shikemeng@huaweicloud.com>2023-01-18 12:37:15 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-10 11:32:43 +0300
commitb1f6feff7c6afff3b0fa834e7f192ecc87e7ce53 (patch)
tree0fc1342dfad53db4c403e177d1645050ffdd6358 /block/Makefile
parentad756d8cae3b99186b6f7c4769d0e3cafd7701b4 (diff)
downloadlinux-b1f6feff7c6afff3b0fa834e7f192ecc87e7ce53.tar.xz
blk-mq: wait on correct sbitmap_queue in blk_mq_mark_tag_wait
[ Upstream commit 98b99e9412d0cde8c7b442bf5efb09528a2ede8b ] For shared queues case, we will only wait on bitmap_tags if we fail to get driver tag. However, rq could be from breserved_tags, then two problems will occur: 1. io hung if no tag is currently allocated from bitmap_tags. 2. unnecessary wakeup when tag is freed to bitmap_tags while no tag is freed to breserved_tags. Wait on the bitmap which rq from to fix this. Fixes: f906a6a0f426 ("blk-mq: improve tag waiting setup for non-shared tags") Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'block/Makefile')
0 files changed, 0 insertions, 0 deletions