public inbox for [email protected]
 help / color / mirror / Atom feed
From: Jens Axboe <[email protected]>
To: Linus Torvalds <[email protected]>
Cc: io-uring <[email protected]>,
	"[email protected]" <[email protected]>
Subject: [GIT PULL] bio recycling support
Date: Mon, 30 Aug 2021 08:57:41 -0600	[thread overview]
Message-ID: <[email protected]> (raw)

Hi Linus,

Forked off for-5.15/io_uring at some point, hence layered on top of
that.

This adds bio recycling support for polled IO, allowing quick reuse of a
bio for high IOPS scenarios via a percpu bio_set list. It's good for
almost a 10% improvement in performance, bumping our per-core IO limit
from ~3.2M IOPS to ~3.5M IOPS.

Please pull!


The following changes since commit fd08e5309bba8672c1190362dff6c92bfd59218d:

  io_uring: optimise hot path of ltimeout prep (2021-08-23 13:10:37 -0600)

are available in the Git repository at:

  git://git.kernel.dk/linux-block.git tags/io_uring-bio-cache.5-2021-08-30

for you to fetch changes up to 3d5b3fbedad65088ec079a4c4d1a2f47e11ae1e7:

  bio: improve kerneldoc documentation for bio_alloc_kiocb() (2021-08-23 13:45:40 -0600)

----------------------------------------------------------------
io_uring-bio-cache.5-2021-08-30

----------------------------------------------------------------
Christoph Hellwig (1):
      block: use the percpu bio cache in __blkdev_direct_IO

Jens Axboe (7):
      bio: optimize initialization of a bio
      fs: add kiocb alloc cache flag
      bio: add allocation cache abstraction
      block: clear BIO_PERCPU_CACHE flag if polling isn't supported
      io_uring: enable use of bio alloc cache
      block: provide bio_clear_hipri() helper
      bio: improve kerneldoc documentation for bio_alloc_kiocb()

 block/bio.c                | 169 ++++++++++++++++++++++++++++++++++++++++-----
 block/blk-core.c           |   2 +-
 block/blk-merge.c          |   2 +-
 block/blk.h                |   7 ++
 fs/block_dev.c             |   6 +-
 fs/io_uring.c              |   2 +-
 include/linux/bio.h        |  13 ++++
 include/linux/blk_types.h  |   1 +
 include/linux/cpuhotplug.h |   1 +
 include/linux/fs.h         |   2 +
 10 files changed, 184 insertions(+), 21 deletions(-)

-- 
Jens Axboe


             reply	other threads:[~2021-08-30 14:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-30 14:57 Jens Axboe [this message]
2021-08-31  2:58 ` [GIT PULL] bio recycling support pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox