Re: [RFC PATCH v4 7/8] xfs: reserve blocks for truncating realtime inode

From: Christoph Hellwig
Date: Fri May 31 2024 - 12:18:32 EST


On Fri, May 31, 2024 at 08:29:22AM -0700, Darrick J. Wong wrote:
> >
> > Sorry, it was meant to say for the data device. My whole journey
> > to check if this could get called for the attr fork twisted my mind.
>
> I really hope not -- all writes to the attr fork have known sizes at
> syscall time, and appending doesn't even make sense.

It's obviously not. I just had to go out and actually read the code
before commenting.