]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic: racing getxattr requests against xattr add/remove
authorBrian Foster <bfoster@redhat.com>
Fri, 6 Jan 2017 19:39:30 +0000 (14:39 -0500)
committerEryu Guan <eguan@redhat.com>
Tue, 10 Jan 2017 03:43:33 +0000 (11:43 +0800)
commitef00dbcf53346e576a973127486f723c248fd1c9
tree2448594f18aaf1fc481cfc6be6e6c1bfcde3083e
parent54c0f9cd4fbed8c72cb282f721a8afea9363b4e1
generic: racing getxattr requests against xattr add/remove

This test reproduces a bug in XFS where a getxattr of an existing
xattr returns failure due to a race with a setxattr that causes
inode attribute fork conversion.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/generic/403 [new file with mode: 0755]
tests/generic/403.out [new file with mode: 0644]
tests/generic/group