Skip to content

block: improvement on bioset & bvec allocation

Ming Lei linux-bcache linux-block 3 versions – Applied

Status from this message: Queued up, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 15 repliesApplied
  2. v26 patches 2 repliesSuperseded
  3. v16 patches 6 repliesSuperseded

Changes in v3 from the cover letter

- share two line code via goto with one label, only patch 1 is changed

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/6block: manage bio slab cache by xarrayblock/bio.c+49 -672 replies
2/6block: don't pass BIOSET_NEED_BVECS for q->bio_splitblock/blk-core.c+1 -12 replies
3/6block: don't allocate inline bvecs if this bioset needn't bvecsblock/bio.c include/linux/bio.h+6 -22 replies
4/6block: set .bi_max_vecs as actual allocated vector numberblock/bio.c+2 -12 replies
5/6block: move three bvec helpers declaration into private helperblock/blk.h include/linux/bio.h+4 -32 replies
6/6bcache: don't pass BIOSET_NEED_BVECS for the 'bio_set' embedded in 'cache_set'drivers/md/bcache/super.c+1 -12 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchChristoph HellwigColy LiPavel BegunkovHannes Reinecke
1/6R-b R-b T-b R-b
2/6R-b R-b T-b R-b
3/6R-b R-b T-b R-b
4/6R-b R-b R-b
5/6R-b R-b R-b
6/6R-b A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v3 thread

Cover letter [PATCH V3 0/6] block: improvement on bioset & bvec allocation

Hello Jens,

All are bioset / bvec improvement, and most of them are quite straightforward.

V3:
- share two line code via goto with one label, only patch 1 is changed

V2:
- patch style change, most is in patch 1
- commit log change

Ming Lei (6):
block: manage bio slab cache by xarray
block: don't pass BIOSET_NEED_BVECS for q->bio_split
block: don't allocate inline bvecs if this bioset needn't bvecs
block: set .bi_max_vecs as actual allocated vector number
block: move three bvec helpers declaration into private helper
bcache: don't pass BIOSET_NEED_BVECS for the 'bio_set' embedded in

    'cache_set'
 block/bio.c               | 122 +++++++++++++++++---------------------
 block/blk-core.c          |   2 +-
 block/blk.h               |   4 ++
 drivers/md/bcache/super.c |   2 +-
 include/linux/bio.h       |   4 +-
 5 files changed, 61 insertions(+), 73 deletions(-)
Signature · 1 line
2.28.0