On Thu, 28 Mar 2024 09:41:43 +0100, Christoph Hellwig wrote: > 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(-) > > [...] Applied, thanks! [1/4] block: add a bio_list_merge_init helper commit: 872fb30bf89598781d90bd2d6522f230cdf6494d [2/4] blk-cgroup: use bio_list_merge_init commit: e19efc6e5d8ed46f407737033ffc0bdfe0b8dc67 [3/4] dm: use bio_list_merge_init commit: d35cd999db51da5706fc4d798b69e189b998ac4f [4/4] btrfs use bio_list_merge_init commit: 5d363e4ee3cf8d4c4bc68956d89dcded30bc7e0c Best regards, -- Jens Axboe