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@xxxxxxx # v1