Re: [PATCH RFC 5/7] md/raid5: convert to use bio_submit_split()

From: Christoph Hellwig
Date: Mon Aug 25 2025 - 07:00:50 EST


On Mon, Aug 25, 2025 at 05:36:58PM +0800, Yu Kuai wrote:
> + raid_bio = bio_submit_split(raid_bio, sectors,
> + &conf->bio_split);
> + if (!raid_bio)
> + return NULL;
> +
> + raid_bio->bi_opf &= ~REQ_NOMERGE;

It almost feels as if md wants a little helper that wraps
bio_submit_split and also clears REQ_NOMERGE?