Skip to content

blk-mq: driver tag related cleanup

Ming Lei linux-block 3 versions Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 3 repliesApplied
  2. v23 patches 1 replySuperseded
  3. v13 patches 8 repliesSuperseded

Changes in v3 from the cover letter

- rebase on latest for-5.9/block, only 3/3 is changed.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3blk-mq: move blk_mq_get_driver_tag into blk-mq.cblock/blk-mq-tag.c block/blk-mq-tag.h block/blk-mq.c+65 -660 replies
2/3blk-mq: move blk_mq_put_driver_tag() into blk-mq.cblock/blk-mq.c block/blk-mq.h+20 -200 replies
3/3blk-mq: centralise related handling into blk_mq_get_driver_tagblock/blk-flush.c block/blk-mq-tag.h block/blk-mq.c +1 more+20 -442 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchChristoph HellwigHannes Reinecke
1/3R-b R-b
2/3R-b R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH V3 0/3] blk-mq: driver tag related cleanup

Hi Jens,

The 1st & 2nd patch moves get/put driver tag helpers into blk-mq.c, and the 3rd patch centralise related handling into blk_mq_get_driver_tag, so both flush & blk-mq code get simplified.

V3:
- rebase on latest for-5.9/block, only 3/3 is changed.

V2:
- add reviewed-by tag
- don't put blk_mq_tag_busy() into blk_mq_get_driver_tag
- use BLK_MQ_NO_TAG in blk-flush.c

Ming Lei (3):
blk-mq: move blk_mq_get_driver_tag into blk-mq.c
blk-mq: move blk_mq_put_driver_tag() into blk-mq.c
blk-mq: centralise related handling into blk_mq_get_driver_tag

 block/blk-flush.c  | 17 +++++-------
 block/blk-mq-tag.c | 58 ----------------------------------------
 block/blk-mq-tag.h | 41 +++++++++++++++++-----------
 block/blk-mq.c     | 66 +++++++++++++++++++++++++++++++++++++++++-----
 block/blk-mq.h     | 20 --------------
 block/blk.h        |  5 ----
 6 files changed, 91 insertions(+), 116 deletions(-)
Cc Christoph Hellwig <[email protected]>
Signature · 1 line
2.25.2