mbox series

[v3,0/3] block/dm: use BIOSET_PERCPU_CACHE from bio_alloc_bioset

Message ID 20220324203526.62306-1-snitzer@kernel.org (mailing list archive)
Headers show
Series block/dm: use BIOSET_PERCPU_CACHE from bio_alloc_bioset | expand

Message

Mike Snitzer March 24, 2022, 8:35 p.m. UTC
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(-)

Comments

Jens Axboe March 30, 2022, 6:51 p.m. UTC | #1
On Thu, 24 Mar 2022 16:35:23 -0400, Mike Snitzer wrote:
> 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.
> 
> [...]

Applied, thanks!

[1/3] block: allow using the per-cpu bio cache from bio_alloc_bioset
      commit: a147e4805855e34f8e1027b88baf59a7f7c8b8d3
[2/3] block: allow use of per-cpu bio alloc cache by block drivers
      commit: e866e4dbad251b4dd1e134c295afd862333864bc

Best regards,