Files
apfstests/tests/btrfs/120.out
T
Filipe Manana 4548a76e89 btrfs: add test for fsync after snapshot deletion
Test that if we delete a snapshot, delete its parent directory, create
another directory with the same name as that parent and then fsync either
the new directory or a file inside the new directory, the fsync succeeds,
the fsync log is replayable and produces a correct result.

This is motivated by a bug that is fixed by the following patch for
btrfs (linux kernel):

  Btrfs: fix unreplayable log after snapshot deletion and parent
  re-creation

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
2016-04-05 11:45:12 +10:00

13 lines
215 B
Plaintext

QA output created by 120
Filesystem contents after the first log replay:
SCRATCH_MNT:
testdir
SCRATCH_MNT/testdir:
Filesystem contents after the second log replay:
SCRATCH_MNT:
testdir
SCRATCH_MNT/testdir:
foobar