Re: [PATCH 0/10 v2] ext4: Fix possible fs corruption due to xattr races

Jan Kara
2022-06-16T12:49:51Z

On Thu 16-06-22 17:24:40, Ritesh Harjani wrote:
> On 22/06/14 06:05PM, Jan Kara wrote:
> > Hello,
> >
> > this is the second version of my patches to fix the race in ext4 xattr handling
> > that led to assertion failure in jbd2 Ritesh has reported. The series is
> > completely reworked. This time it passes beating with "stress-ng --xattr 16".
> > Also I'm somewhat happier about the current solution because, although it is
> > still not trivial to use mbcache correctly, it is at least harder to use it
> > in a racy way :). Please let me know what you think about this series.
>
> I have tested this on my setup where I was able to reproduce the problem with
> stress-ng. It ran for several hours and also passed fstests (quick).
>
> So feel free to -
> Tested-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>

Thanks for testing!

Honza
--
Jan Kara <jack@suse.com>
SUSE Labs, CR