[dm-devel] [PATCH v3 0/3] block/dm: use BIOSET_PERCPU_CACHE from bio_alloc_bioset
Mike Snitzer
snitzer at kernel.org
Thu Mar 24 20:35:23 UTC 2022
Hi Jens,
This v3 is a rebase of the previous v2 series ontop of the revised v2
patch that Christoph provided.
Linus hasn't pulled the for-5.18/dm-changes branch yet, so the 3rd DM
patch cannot be applied yet. But feel free to pickup the first 2
block patches for 5.19 and I'll rebase dm-5.19 on block accordingly.
Thanks,
Mike
v3: tweaked some code comments, refined patch headers and folded DM
patches so only one DM patch now.
v2: add REQ_ALLOC_CACHE and move use of bio_alloc_percpu_cache to
bio_alloc_bioset
Mike Snitzer (3):
block: allow using the per-cpu bio cache from bio_alloc_bioset
block: allow use of per-cpu bio alloc cache by block drivers
dm: conditionally enable BIOSET_PERCPU_CACHE for dm_io bioset
block/bio.c | 88 +++++++++++++++++++++++------------------------
block/blk.h | 7 ----
block/fops.c | 11 ++++--
drivers/md/dm-table.c | 11 ++++--
drivers/md/dm.c | 8 ++---
drivers/md/dm.h | 4 +--
include/linux/bio.h | 8 +++--
include/linux/blk_types.h | 3 +-
8 files changed, 73 insertions(+), 67 deletions(-)
--
2.15.0
More information about the dm-devel
mailing list