Re: [syzbot] [ext4?] possible deadlock in ext4_destroy_inline_data (2)

Theodore Tso
2025-12-02T01:57:54Z

On Mon, Dec 01, 2025 at 03:25:52PM -0800, Darrick J. Wong wrote:
>
> Or expand extra_isize only when someone tries to set an inode field that
> actually requires it? e.g. whenever setting the project id?

Or when adding/removing/changing an extended attribute, especially one
stored in the inode table, since that's when we need to make sure
we've left room the expanded inode.

Certainly if all we are doing is, say, updating the atime, trying to
move out an extended attribute to make room for an inode field that
might never get used is kind of a waste.

We just haven't really focused on this much, since we haven't needed
to expand the inode in many years. But if someone wants to work on
it, that would be great!

- Ted