block: optimize for single-page bvec workloads
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | block: introduce bvec_nth_page()block/ include/ | +9 | 0 replies | |
| 2/4 | block: optimize __blk_segment_map_sg() for single-page bvecblock/ | +7 | 0 replies | |
| 3/4 | block: optimize blk_bio_segment_split for single-page bvecblock/ | +9 | 0 replies | |
| 4/4 | block: introduce mp_bvec_for_each_page() for iterating over pageblock/ include/ | +8 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] block: optimize for single-page bvec workloads
Hi,
The 1st patch introduce bvec_nth_page(), so that nth_page() can be avoided if the bvec is single-page.
The 2nd and 3rd patch adds fast path for single-page bvec case.
The last patch introduces a light-weight helper for iterating over pages, which may improve __bio_iov_bvec_add_pages(). This patch is for io_uring.
Thanks,
Ming Lei (4):
block: introduce bvec_nth_page()
block: optimize __blk_segment_map_sg() for single-page bvec
block: optimize blk_bio_segment_split for single-page bvec
block: introduce mp_bvec_for_each_page() for iterating over page
block/bio.c | 7 +++---- block/blk-merge.c | 23 +++++++++++++++++------ include/linux/bvec.h | 16 +++++++++++++--- 3 files changed, 33 insertions(+), 13 deletions(-)
Signature · 1 line
2.9.5