Re: [RFC PATCH v3 07/26] iomap: don't increase i_size if it's not a write operation

From: Christoph Hellwig
Date: Wed Feb 28 2024 - 17:13:39 EST


On Wed, Feb 28, 2024 at 04:53:32PM +0800, Zhang Yi wrote:
> So, we have to handle above case for xfs. I suppose we could keep
> increasing i_size if the zeroed folio is entirely outside of i_size,
> make sure we could write back and allocate blocks for the
> zeroed & delayed extent, something like below, any suggestions ?

Sorry for being dumb, but what was the problem solved by not updating
the size for ext4 again? (for unshare I can't see any reason to
ever update the inode size)