Hi, These two test cases are reproducers for xattr bugs [1] on ubifs. Although these bugs are ubifs specific, I still place these test cases under generic directory, because we can ensure other filesystems implement concurrent xattr read and write op correctly. Comments are welcome. Regards, Tao [1]: https://lore.kernel.org/linux-mtd/20200630130438.141649-1-houtao1@xxxxxxxxxx/ Hou Tao (2): generic: add test for race between listxattr and setxatr generic: add test for race between getxattr and setxattr tests/generic/998 | 64 ++++++++++++++++++++++++++++++++++++++++ tests/generic/998.out | 2 ++ tests/generic/999 | 68 +++++++++++++++++++++++++++++++++++++++++++ tests/generic/999.out | 2 ++ tests/generic/group | 2 ++ 5 files changed, 138 insertions(+) create mode 100644 tests/generic/998 create mode 100644 tests/generic/998.out create mode 100644 tests/generic/999 create mode 100644 tests/generic/999.out -- 2.25.0.4.g0ad7144999