generic: xattr enospc cleanup test
authorBrian Foster <bfoster@redhat.com>
Tue, 4 Aug 2015 04:10:49 +0000 (14:10 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 4 Aug 2015 04:10:49 +0000 (14:10 +1000)
commit67f0524ceb054b088ae6df8db1d92c7957e87b75
tree3ed2ceccb506a059195001523e0c34ce49677b4c
parentb9982f955154b4343f1a2389ff2271240745864b
generic: xattr enospc cleanup test

XFS had a regression where inode reclaim in the unlink codepath would
not correctly tear down extended attribute forks where no xattr extents
are present. Add a generic test to create this condition.

The test sets extended attributes on a series of files under ENOSPC
conditions and then verifies that the files can be removed without
syslog warnings or errors.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
common/rc
tests/generic/103 [new file with mode: 0644]
tests/generic/103.out [new file with mode: 0644]
tests/generic/group