Re: [dm-devel] improve the bio cloning interface v2
On Wed, 2 Feb 2022 17:00:56 +0100, Christoph Hellwig wrote: > 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. > > [...] Applied, thanks! [01/13] drbd: set ->bi_bdev in drbd_req_new commit: c347a787e34cba0e5a80a04082dacaf259105605 [02/13] dm: add a clone_to_tio helper commit: 6c23f0bd7f16d88c774db37b30c5da82811c41be [03/13] dm: fold clone_bio into __clone_and_map_data_bio commit: b1bee79237ce0ab43ef7fe66aa6e5c4783165012 [04/13] dm: fold __send_duplicate_bios into __clone_and_map_simple_bio commit: 8eabf5d0a7bd9226d6cc25402dde67f372aae838 [05/13] dm: move cloning the bio into alloc_tio commit: dc8e2021da71f6b2d5971f98ee3e528cf30c409c [06/13] dm: pass the bio instead of tio to __map_bio commit: 1561b396106d759fdf5f9a71b412e068f74d2cc9 [07/13] dm: retun the clone bio from alloc_tio commit: 1d1068cecff70cb8e48c7cb0ba27cc3fd906eb31 [08/13] dm: simplify the single bio fast path in __send_duplicate_bios commit: 891fced644a7529bfd4b1436b2341527ce8f68ad [09/13] dm-cache: remove __remap_to_origin_clear_discard commit: 3c4b455ef8acdacd0e5ecd33428d4f32f861637a [10/13] block: clone crypto and integrity data in __bio_clone_fast commit: 56b4b5abcdab6daf71c5536fca2772f178590e06 [11/13] dm: use bio_clone_fast in alloc_io/alloc_tio commit: 92986f6b4c8a2c24d3a36b80140624f80fd93de4 [12/13] block: initialize the target bio in __bio_clone_fast commit: a0e8de798dd6710a69d69ec57b246a0e34c4a695 [13/13] block: pass a block_device to bio_clone_fast commit: abfc426d1b2fb2176df59851a64223b58ddae7e7 Best regards, -- Jens Axboe -- dm-devel mailing list dm-devel@redhat.com https://listman.redhat.com/mailman/listinfo/dm-devel
Re: [dm-devel] improve the bio cloning interface v2
On Wed, Feb 02 2022 at 11:00P -0500, Christoph Hellwig wrote: > 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(-) > Looks good, for all: Reviewed-by: Mike Snitzer I have some DM core changes for 5.18 that I need to make and this patchset offers enough DM churn that I'd like to base my changes ontop. So I'd appreciate it if this patchset could land in block's for-5.18 ASAP. Thanks, Mike -- dm-devel mailing list dm-devel@redhat.com https://listman.redhat.com/mailman/listinfo/dm-devel