Re: [PATCH] XArray: revert (unintentional?) behavior change

From: Pedro Falcato
Date: Sat Mar 22 2025 - 12:22:02 EST


On Fri, Mar 21, 2025 at 09:37:33PM -0700, Andrew Morton wrote:
> On Fri, 21 Mar 2025 22:17:08 -0400 Tamir Duberstein <tamird@xxxxxxxxx> wrote:
>
> > Partially revert commit 6684aba0780d ("XArray: Add extra debugging check
> > to xas_lock and friends"), fixing test failures in check_xa_alloc.
> >
> > Fixes: 6684aba0780d ("XArray: Add extra debugging check to xas_lock and friends")
>
> Thanks.
>
> 6684aba0780d appears to be only in linux-next. It has no Link: and my
> efforts to google its origin story failed. Help?
>

It was added back in september to willy's tree due to an XFS data corruption bug.
See https://lore.kernel.org/linux-mm/ZvLhrF5lj3x596Qm@xxxxxxxxxxxxxxxxxxxx/ and
https://git.infradead.org/?p=users/willy/xarray.git;a=commitdiff;h=6684aba0780da9f505c202f27e68ee6d18c0aa66.

--
Pedro