Re: [inline_data] ext4: Stale flags before sync when convert to non-inline

From: Daniel Dawson
Date: Tue Jan 23 2024 - 01:06:35 EST


On 11/28/23 10:15 PM, Daniel Dawson wrote:
When a file is converted from inline to non-inline, it has stale flags until sync.

Why is this a problem? Because some code will fail under such a condition, for example, lseek(..., SEEK_HOLE) will result in ENOENT.


Just tested. Still happening on 6.8-rc1.

--
PGP fingerprint: 5BBD5080FEB0EF7F142F8173D572B791F7B4422A