[dm-devel] [PATCH 0/3] block/dm: use BIOSET_PERCPU_CACHE from bio_alloc_clone

Mike Snitzer snitzer at redhat.com
Tue Mar 22 19:49:24 UTC 2022


Hi Jens,

I ran with your suggestion and DM now sees a ~7% improvement in hipri
bio polling with io_uring (using dm-linear on null_blk, IOPS went from
900K to 966K).

I'd appreciate it if you could pick up the first patch for 5.19.
I'll rebase dm's 5.19 branch on block once it lands.

(FYI, this series builds on linux-dm.git's "dm-5.18" branch, and the
commits in this series are available in linux-dm.git's "dm-5.19"
branch).

Thanks,
Mike

Mike Snitzer (3):
  block: allow BIOSET_PERCPU_CACHE use from bio_alloc_clone
  dm: enable BIOSET_PERCPU_CACHE for dm_io bioset
  dm: conditionally enable BIOSET_PERCPU_CACHE for bio-based dm_io bioset

 block/bio.c           | 56 ++++++++++++++++++++++++++++++++-------------------
 block/blk.h           |  7 -------
 drivers/md/dm-table.c | 11 +++++++---
 drivers/md/dm.c       | 10 ++++-----
 drivers/md/dm.h       |  4 ++--
 include/linux/bio.h   |  7 +++++++
 6 files changed, 57 insertions(+), 38 deletions(-)

-- 
2.15.0



More information about the dm-devel mailing list