mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
4548a76e89
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>
13 lines
215 B
Plaintext
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
|