From: Christoph Hellwig <hch@lst.de>
To: Jens Axboe <axboe@kernel.dk>
Cc: Tejun Heo <tj@kernel.org>, Josef Bacik <josef@toxicpanda.com>,
Mike Snitzer <snitzer@kernel.org>,
Mikulas Patocka <mpatocka@redhat.com>,
Matthew Sakai <msakai@redhat.com>, Chris Mason <clm@fb.com>,
David Sterba <dsterba@suse.com>,
dm-devel@lists.linux.dev, cgroups@vger.kernel.org,
linux-block@vger.kernel.org, linux-btrfs@vger.kernel.org
Subject: add a bio_list_merge_init helper
Date: Thu, 28 Mar 2024 09:41:43 +0100 [thread overview]
Message-ID: <20240328084147.2954434-1-hch@lst.de> (raw)
Hi Jens,
the bio_list API is missing a helper that reinitializes the list
spliced onto another one. Add one to simplify the code similar
to what the normal list.h can do.
Diffstat:
block/blk-cgroup.c | 3 +--
drivers/md/dm-bio-prison-v2.c | 3 +--
drivers/md/dm-cache-target.c | 12 ++++--------
drivers/md/dm-clone-target.c | 14 +++++---------
drivers/md/dm-era-target.c | 3 +--
drivers/md/dm-mpath.c | 3 +--
drivers/md/dm-thin.c | 12 +++---------
drivers/md/dm-vdo/data-vio.c | 3 +--
drivers/md/dm-vdo/flush.c | 3 +--
fs/btrfs/raid56.c | 3 +--
include/linux/bio.h | 7 +++++++
11 files changed, 26 insertions(+), 40 deletions(-)
next reply other threads:[~2024-03-28 8:41 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-28 8:41 Christoph Hellwig [this message]
2024-03-28 8:41 ` [PATCH 1/4] block: add a bio_list_merge_init helper Christoph Hellwig
2024-03-28 18:29 ` Matthew Sakai
2024-03-28 8:41 ` [PATCH 2/4] blk-cgroup: use bio_list_merge_init Christoph Hellwig
2024-03-28 8:41 ` [PATCH 3/4] dm: " Christoph Hellwig
2024-03-29 14:01 ` Mike Snitzer
2024-03-28 8:41 ` [PATCH 4/4] btrfs " Christoph Hellwig
2024-03-28 19:16 ` David Sterba
2024-03-28 9:00 ` add a bio_list_merge_init helper Damien Le Moal
2024-03-28 12:21 ` Johannes Thumshirn
2024-03-29 18:32 ` Jens Axboe
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=20240328084147.2954434-1-hch@lst.de \
--to=hch@lst.de \
--cc=axboe@kernel.dk \
--cc=cgroups@vger.kernel.org \
--cc=clm@fb.com \
--cc=dm-devel@lists.linux.dev \
--cc=dsterba@suse.com \
--cc=josef@toxicpanda.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-btrfs@vger.kernel.org \
--cc=mpatocka@redhat.com \
--cc=msakai@redhat.com \
--cc=snitzer@kernel.org \
--cc=tj@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).