Skip to content

Some clean-ups for bio merge

Baolin Wang linux-block lkml 4 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 Latest4 patches 2 repliesApplied
  2. v23 patches 4 repliesSuperseded
  3. v1 posting 2/25 patches 13 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v1 posting 1/25 patches1 replySuperseded

Changes in v3 from the cover letter

- Split blk_mq_bio_list_merge() moving into a separate patch.
- Add reviewed-by tag from Christoph.
- Coding style improvement.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4block: Move bio merge related functions into blk-merge.cblock/blk-core.c block/blk-merge.c+157 -1560 replies
2/4block: Move blk_mq_bio_list_merge() into blk-merge.cblock/blk-merge.c block/blk-mq-sched.c block/blk.h +2 more+48 -480 replies
3/4block: Add a new helper to attempt to merge a bioblock/blk-merge.c block/blk-mq-sched.c block/blk.h+71 -600 replies
4/4block: Remove blk_mq_attempt_merge() functionblock/blk-mq-sched.c+16 -280 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchChristoph Hellwig
SeriesR-b
1/4R-b
2/4
3/4
4/4R-b

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/4] Some clean-ups for bio merge

Hi,

There are some duplicated code when trying to merge bio from pluged list and software queue, thus this patch set did some clean-ups when merging a bio. Any comments are welcome. Thanks.

Changes from v2:
- Split blk_mq_bio_list_merge() moving into a separate patch.
- Add reviewed-by tag from Christoph.
- Coding style improvement.

Changes from v1:
- Drop patch 2 and patch 5 in v1 patch set.
- Add reviewed-by tag from Christoph.
- Move blk_mq_bio_list_merge() into blk-merge.c and rename it.
- Some coding style improvements.

Baolin Wang (4):
block: Move bio merge related functions into blk-merge.c
block: Move blk_mq_bio_list_merge() into blk-merge.c
block: Add a new helper to attempt to merge a bio
block: Remove blk_mq_attempt_merge() function

 block/blk-core.c       | 156 -------------------------------------
 block/blk-merge.c      | 203 +++++++++++++++++++++++++++++++++++++++++++++++++
 block/blk-mq-sched.c   |  94 +++++------------------
 block/blk.h            |  23 ++++--
 block/kyber-iosched.c  |   2 +-
 include/linux/blk-mq.h |   2 -
 6 files changed, 240 insertions(+), 240 deletions(-)
Signature · 1 line
1.8.3.1