Hi,
在 2025/08/25 19:00, Christoph Hellwig 写道:
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?
Yes.
And with the respect bio_submit_split() set this flag and then we clear
it, will it make more sense to set this flag after bio_submit_split()
from block layer?
Thanks,
Kuai
.