Skip to content

Overlayfs orphan index cleanup tests

Amir Goldstein fstests linux-unionfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3overlay: regression test for hardlink breakage after unlink and mount cycletests/overlay/047 tests/overlay/047.out tests/overlay/group+124 -00 replies
2/3overlay: regression test for orphan index cleanup on mounttests/overlay/048 tests/overlay/048.out tests/overlay/group+160 -00 replies
3/3overlay/042: remove wrong check for empty indextests/overlay/042+0 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Overlayfs orphan index cleanup tests

Eryu,

Vivek found a bug with the index nlink accounting of the index feature that was introduced in kernel v4.13.

The bug was there from the first implementation of index and the tests I wrote to verify nlink accounting (overlay/033,034) did not cover the bug use case.

The first regression test (overlay/047) demonstrates the effects of the bug on end user.

The second regression test (overlay/048) adds the missing test coverage of the existing nlink accounting tests.

The kernel bug was hiding a bug in test overlay/042, so Vivek's kernel fix broke the test. The last patch fixes the wrong/broken test.

Amir.

Amir Goldstein (3):
overlay: regression test for hardlink breakage after unlink and mount
overlay: regression test for orphan index cleanup on mount overlay/042: remove wrong check for empty index

 tests/overlay/042     |   4 --
 tests/overlay/047     | 107 ++++++++++++++++++++++++++++++++++++++
 tests/overlay/047.out |  16 ++++++
 tests/overlay/048     | 141 ++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/overlay/048.out |  18 +++++++
 tests/overlay/group   |   2 +
 6 files changed, 284 insertions(+), 4 deletions(-)
 create mode 100755 tests/overlay/047
 create mode 100644 tests/overlay/047.out
 create mode 100755 tests/overlay/048
 create mode 100644 tests/overlay/048.out
Signature · 1 line
2.7.4