mbox series

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

Message ID 20230209201116.579809-1-shikemeng@huaweicloud.com (mailing list archive)
Headers show
Series A few bugfix and cleanup patches to blk-mq | expand

Message

Kemeng Shi Feb. 9, 2023, 8:11 p.m. UTC
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(-)