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

Jan Kara
2022-06-14T16:06:13Z

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.

Changes since v1:
* Reworked the series to fix all corner cases and make API less errorprone.

Honza

Previous versions:
Link: http://lore.kernel.org/r/20220606142215.17962-1-jack@suse.cz # v1