From: Mike Snitzer <snitzer@kernel.org>
To: dm-devel@redhat.com
Cc: linux-block@vger.kernel.org
Subject: [5.20 PATCH v3 0/2] dm: improve bio splitting at expense of requeue complexity
Date: Wed, 6 Jul 2022 13:44:01 -0400 [thread overview]
Message-ID: <20220706174403.79317-1-snitzer@kernel.org> (raw)
This v3 moves all bio_rewind() code to drivers/md/dm-io-rewind.c for
exclussive use by DM core's dm_io requeue support via dm_io_rewind().
It was determined that block core doesn't need to expose bio_rewind()
for more general use. If/when that changes we can revisit, armed with
the understanding of how DM's use of bio_rewind() has faired.
These changes are now staged for 5.20 inclussion via linux-dm.git
Ming Lei (2):
dm: add bio_rewind() API to DM core
dm: add two stage requeue mechanism
drivers/md/Makefile | 2 +-
drivers/md/dm-core.h | 13 +++-
drivers/md/dm-io-rewind.c | 166 ++++++++++++++++++++++++++++++++++++++++++++++
drivers/md/dm.c | 121 +++++++++++++++++++++++++--------
4 files changed, 273 insertions(+), 29 deletions(-)
create mode 100644 drivers/md/dm-io-rewind.c
--
2.15.0
next reply other threads:[~2022-07-06 17:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-06 17:44 Mike Snitzer [this message]
2022-07-06 17:44 ` [5.20 PATCH v3 1/2] dm: add bio_rewind() API to DM core Mike Snitzer
2022-07-07 4:47 ` Christoph Hellwig
2022-07-06 17:44 ` [5.20 PATCH v3 2/2] dm: add two stage requeue mechanism Mike Snitzer
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 \
--in-reply-to=20220706174403.79317-1-snitzer@kernel.org \
--to=snitzer@kernel.org \
--cc=dm-devel@redhat.com \
--cc=linux-block@vger.kernel.org \
/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