Re: [PATCH] xfs: mark i_mode=0 and shut down on attr fork inactivation failure
From: Carlos Maiolino
Date: Tue Nov 03 2026 - 05:14:32 EST
On Wed, 21 Oct 2026 08:33:29 +0200, Ravi Singh wrote:
> xfs_attr_inactive() can fail on an I/O error reading the attribute
> fork's btree blocks, for example from fault injection such as the
> dm-flakey errors used by xfstests generic/475. On failure,
> xfs_ifork_zap_attr() zeros af_nextents without freeing the attribute
> blocks or decrementing i_nblocks, leaving the inode in an
> inconsistent in-memory state.
>
> [...]
Applied to for-next, thanks!
[1/1] xfs: mark i_mode=0 and shut down on attr fork inactivation failure
commit: bde0010631a207511308dc8407f34595dac13ad5
Best regards,
--
Carlos Maiolino <cem@xxxxxxxxxx>