mbox series

[V2,0/6] block: improvement on bioset & bvec allocation

Message ID 20210105124203.3726599-1-ming.lei@redhat.com (mailing list archive)
Headers show
Series block: improvement on bioset & bvec allocation | expand

Message

Ming Lei Jan. 5, 2021, 12:41 p.m. UTC
Hello,

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

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               | 120 +++++++++++++++++---------------------
 block/blk-core.c          |   2 +-
 block/blk.h               |   4 ++
 drivers/md/bcache/super.c |   2 +-
 include/linux/bio.h       |   4 +-
 5 files changed, 60 insertions(+), 72 deletions(-)