Skip to content

Optimize bio splitting

Bart Van Assche linux-block 2 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. v2 Latest5 patches 3 repliesApplied
  2. v15 patches 4 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/5block: Declare several function pointer arguments 'const'block/blk-merge.c include/linux/blkdev.h+20 -191 reply
2/5block: Document the bio splitting functionsblock/bio.c block/blk-merge.c+45 -21 reply
3/5block: Simplify bvec_split_segs()block/blk-merge.c+7 -90 replies
4/5block: Simplify blk_bio_segment_split()block/blk-merge.c+33 -350 replies
5/5block: Improve physical block alignment of split biosblock/blk-merge.c+17 -40 replies

Reviews trailers per patch

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

PatchJohannes ThumshirnChaitanya Kulkarni
1/5R-b R-b
2/5R-b R-b
3/5R-b
4/5
5/5

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

Read the v2 thread

Cover letter [PATCH v2 0/5] Optimize bio splitting

Hi Jens,

This patch series improves bio splitting in several ways:
- Reduce the number of CPU cycles spent in bio splitting code.
- Make the bio splittig code easier to read.
- Optimize alignment of split bios.

Please consider this patch series for kernel v5.4.

Thanks,

Bart.

Changes compared to v1: addressed Johannes' review feedback.

Bart Van Assche (5):
block: Declare several function pointer arguments 'const'
block: Document the bio splitting functions
block: Simplify bvec_split_segs()
block: Simplify blk_bio_segment_split()
block: Improve physical block alignment of split bios

 block/bio.c            |   4 +-
 block/blk-merge.c      | 151 ++++++++++++++++++++++++++++-------------
 include/linux/blkdev.h |  32 ++++-----
 3 files changed, 120 insertions(+), 67 deletions(-)
Signature · 1 line
2.22.0.770.g0f2c4a37fd-goog