[PATCH 0/7] A few bugfix and cleanup patches to blk-mq

From: Kemeng Shi
Date: Thu Feb 09 2023 - 07:11:38 EST


Hi, this patchset contains a few bugfix patches to avoid recalculation
race, mark active before allocating tag in blk_mq_get_tag and some a
few random cleanup patches.

Kemeng Shi (7):
blk-mq: sync wake_batch update and users number change
blk-mq: count changed hctx as active in blk_mq_get_tag
blk-mq: remove wake_batch recalculation for reserved tags
blk-mq: remove unnecessary bit clear in __blk_mq_alloc_requests_batch
blk-mq: remove unnecessary "set->queue_depth == 0" check in
blk_mq_alloc_set_map_and_rqs
blk-mq: Remove unnecessary hctx check in function
blk_mq_alloc_and_init_hctx
blk-mq: remove stale comment of function called for iterated request

block/blk-mq-tag.c | 49 +++++++++++++++++++++++++---------------------
block/blk-mq.c | 8 +++-----
2 files changed, 30 insertions(+), 27 deletions(-)

--
2.30.0