Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) by mail19.linbit.com (LINBIT Mail Daemon) with ESMTP id 2C06942011F for ; Wed, 2 Feb 2022 17:01:16 +0100 (CET) From: Christoph Hellwig To: Jens Axboe Date: Wed, 2 Feb 2022 17:00:56 +0100 Message-Id: <20220202160109.108149-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: Mike Snitzer , Philipp Reisner , linux-block@vger.kernel.org, dm-devel@redhat.com, Lars Ellenberg , Pavel Begunkov , drbd-dev@lists.linbit.com Subject: [Drbd-dev] improve the bio cloning interface v2 List-Id: "*Coordination* of development, patches, contributions -- *Questions* \(even to developers\) go to drbd-user, please." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Jens, this series changes the bio cloning interface to match the rest changes to the bio allocation interface and passes the block_device and operation to the cloning helpers. In addition it renames the cloning helpers to be more descriptive. To get there it requires a bit of refactoring in the device mapper code. Changes since v1: - rebased to the lastest for-5.18/block tree - fix a fatal double initialization in device mapper A git tree is also available here: git://git.infradead.org/users/hch/block.git bio_alloc-cleanup-part2 Gitweb: http://git.infradead.org/users/hch/block.git/shortlog/refs/heads/bio_alloc-cleanup-part2 Diffstat: Documentation/block/biodoc.rst | 5 - block/bio-integrity.c | 1 block/bio.c | 106 +++++++++++++----------- block/blk-crypto.c | 1 block/blk-mq.c | 4 block/bounce.c | 3 drivers/block/drbd/drbd_req.c | 5 - drivers/block/drbd/drbd_worker.c | 4 drivers/block/pktcdvd.c | 4 drivers/md/bcache/request.c | 6 - drivers/md/dm-cache-target.c | 26 ++---- drivers/md/dm-crypt.c | 11 +- drivers/md/dm-zoned-target.c | 3 drivers/md/dm.c | 166 +++++++++++++-------------------------- drivers/md/md-faulty.c | 4 drivers/md/md-multipath.c | 4 drivers/md/md.c | 5 - drivers/md/raid1.c | 34 +++---- drivers/md/raid10.c | 16 +-- drivers/md/raid5.c | 4 fs/btrfs/extent_io.c | 4 include/linux/bio.h | 6 - 22 files changed, 183 insertions(+), 239 deletions(-)