generic: add new test for fsync() on directories
authorJosef Bacik <jbacik@fusionio.com>
Mon, 2 Dec 2013 23:29:36 +0000 (10:29 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 2 Dec 2013 23:29:36 +0000 (10:29 +1100)
commit640d1e1e16c25de0251b76385220ab379e156e47
tree746aae52b428f3d83b162c4979686e0e145d9b0d
parentbd50b75f7d5ef60aa3baad11c8608643673b826c
generic: add new test for fsync() on directories

Btrfs had some issues with fsync()'ing directories and fsync()'ing
after renames.  These three new tests cover the 3 different issues
we were seeing.  This breaks out the dmflakey stuff into a common
helper to be shared between generic/311 and this new test.

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
common/dmflakey [new file with mode: 0644]
tests/generic/311
tests/generic/321 [new file with mode: 0644]
tests/generic/321.out [new file with mode: 0644]
tests/generic/group