xfstests: generic: add test for double msync, motivated by a btrfs bug
authorFilipe Manana <fdmanana@suse.com>
Mon, 8 Sep 2014 12:26:52 +0000 (22:26 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 8 Sep 2014 12:26:52 +0000 (22:26 +1000)
commitaaab9f3eb2cd3588dfc9f6bd1ecd356cd7c6959e
treef12fb793d7752852e7b74ed6c936ca17412f3e88
parentbeb211475b0a2ff64faaf8d5c19afbd2cfee21cc
xfstests: generic: add test for double msync, motivated by a btrfs bug

This test is motivated by a btrfs issue where a ranged fsync would
prevent a subsequent fsync from persisting any extents that were
dirty at the time of the first fsync but that were outside the range
of that first fsync (which should have been persisted by the second
fsync).

This bug in btrfs is fixed by the following linux kernel patch:

     Btrfs: fix fsync data loss after a ranged fsync

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/generic/325 [new file with mode: 0755]
tests/generic/325.out [new file with mode: 0644]
tests/generic/group