Re: [PATCH -next v2 6/7] ext4: simply the mapping query logic in ext4_iomap_begin()
From: Zhang Yi
Date: Sun Jan 04 2026 - 20:19:13 EST
On 1/4/2026 9:00 PM, Markus Elfring wrote:
>> In the write path mapping check of ext4_iomap_begin(), the return value
>> 'ret' should never greater than orig_mlen. If 'ret' equals 'orig_mlen',
>> it can be returned directly without checking IOMAP_ATOMIC.
>
> See also once more:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.19-rc3#n94
>
>
> How do you think about to use the word “simplify” in the summary phrase?
>
> Regards,
> Markus
Yeah, it makes sense to me, I will revise it in v3.
Thanks,
Yi.