Skip to content

block/dm: use BIOSET_PERCPU_CACHE from bio_alloc_bioset

Mike Snitzer dm-devel linux-block 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest3 patches 2 repliesApplied

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3block: allow using the per-cpu bio cache from bio_alloc_biosetblock/bio.c block/blk.h block/fops.c +2 more+52 -530 replies
2/3block: allow use of per-cpu bio alloc cache by block driversblock/bio.c block/blk.h include/linux/bio.h+8 -61 reply
3/3dm: conditionally enable BIOSET_PERCPU_CACHE for dm_io biosetdrivers/md/dm-table.c drivers/md/dm.c drivers/md/dm.h+14 -90 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchChristoph Hellwig
1/3
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] block/dm: use BIOSET_PERCPU_CACHE from bio_alloc_bioset

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(-)
Signature · 1 line
2.15.0