mbox series

[v2,0/5] Optimize bio splitting

Message ID 20190801225044.143478-1-bvanassche@acm.org (mailing list archive)
Headers show
Series Optimize bio splitting | expand

Message

Bart Van Assche Aug. 1, 2019, 10:50 p.m. UTC
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(-)

Comments

Jens Axboe Aug. 2, 2019, 1:36 p.m. UTC | #1
On 8/1/19 4:50 PM, Bart Van Assche wrote:
> 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.

Applied, thanks.