Files
apfstests/tests/overlay/048.out
T
Amir Goldstein be7b6165bc overlay: regression test for orphan index cleanup on mount
Test nlink accounting of overlay hardlinks with offline modifications.

nlink of overlay inode should account for the union of lower and upper
hardlinks. Orphan index inodes with union nlink 0 should be cleaned on
mount.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
2017-12-01 16:51:00 +08:00

19 lines
372 B
Plaintext

QA output created by 048
== all upper offline ==
3 SCRATCH_MNT/0
3 SCRATCH_MNT/1
3 SCRATCH_MNT/2
== unlink upper offline ==
2 SCRATCH_MNT/1
2 SCRATCH_MNT/2
== link upper offline ==
3 SCRATCH_MNT/1
3 SCRATCH_MNT/2
3 SCRATCH_MNT/3
== rename over upper offline ==
2 SCRATCH_MNT/2
2 SCRATCH_MNT/3
== unlink new upper offline ==
1 SCRATCH_MNT/2
== unlink last lower offline ==