On Tue, 15 Apr 2025 at 04:28, Guang Yuan Wu <gwu@xxxxxxx> wrote: > I though about this ... > Actually, FUSE_I_SIZE_UNSTABLE can be set concurrently, by truncate and other flow, and if the bit is ONLY set from truncate case, we can trust attributes, but other flow may set it as well. FUSE_I_SIZE_UNSTABLE is set with the inode lock held exclusive. If this wasn't the case, the FUSE_I_SIZE_UNSTABLE state could become corrupted (i.e it doesn't nest). Thanks, Miklos