Re: [PATCH -next v2 6/7] ext4: simply the mapping query logic in ext4_iomap_begin()

From: Markus Elfring
Date: Sun Jan 04 2026 - 08:00:56 EST


> 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