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>
This commit is contained in:
Brian Foster
2015-08-04 14:10:49 +10:00
committed by Dave Chinner
parent b9982f9551
commit 67f0524ceb
4 changed files with 96 additions and 0 deletions
+1
View File
@@ -105,6 +105,7 @@
100 udf auto
101 auto quick metadata
102 auto rw
103 auto enospc quick
105 acl auto quick
112 rw aio auto quick
113 rw aio auto quick