generic: add write vs fcollapse test

This test exposed a problem with XFS where it failed to write back a
partial page correctly during a fcollapse operation. This left a
stray dirty buffer on the page, and hence invalidation of the page
then failed of the fcollapse returned an EBUSY error.

Make this a generic test so that we can ensure that all filesystems
handle the case correctly. Test case originally worked out and
written by Brian Foster.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
Dave Chinner
2014-09-29 12:58:24 +10:00
parent 10b49039a5
commit cac7b427a8
3 changed files with 93 additions and 0 deletions
+1
View File
@@ -33,6 +33,7 @@
028 auto quick
029 auto quick rw
030 auto quick rw
031 auto quick prealloc rw
053 acl repair auto quick
062 attr udf auto quick
068 other auto freeze dangerous stress