Skip to content

overlay hardlink tests

Amir Goldstein fstests linux-unionfs 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 0 repliesNew
  2. v27 patches 10 repliesSuperseded
  3. v16 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- Better commentary for overlay/034 and overlay/032
- Increase copy up file size of overlay/032 to 1g

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7overlay/018: re-factor and add to hardlink grouptests/overlay/018 tests/overlay/group+26 -90 replies
2/7overlay/018: print hardlink content to golden outputtests/overlay/018 tests/overlay/018.out+14 -70 replies
3/7overlay/018: test broken hardlinks after mount cycletests/overlay/018 tests/overlay/018.out+16 -20 replies
4/7overlay/018: test lower hardlinks re-unite on copy uptests/overlay/018 tests/overlay/018.out+17 -00 replies
5/7overlay: test concurrent copy up of lower hardlinkstests/overlay/032 tests/overlay/032.out tests/overlay/group+114 -00 replies
6/7overlay: test nlink accounting of overlay hardlinkstests/overlay/033 tests/overlay/033.out tests/overlay/group+219 -00 replies
7/7overlay: test dropping nlink below zerotests/overlay/034 tests/overlay/034.out tests/overlay/group+110 -00 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/7] overlay hardlink tests

Eryu,

overlay/018 and the three new tests added to overlay/hardlink group, pass with the current overlayfs-next branch.

overlay/033-034 were added to test a new mechanism of persistent overlay nlink accounting, that was added along with the fix to breaking hardlinks on copy up.

overlay/034 passes on current upstream kernel, because the behavior of breaking hardlinks on copy up cancels the nlink accounting effects.

Changes from v2:
- Better commentary for overlay/034 and overlay/032
- Increase copy up file size of overlay/032 to 1g

Thanks,
Amir.

Amir Goldstein (7):
overlay/018: re-factor and add to hardlink group overlay/018: print hardlink content to golden output overlay/018: test broken hardlinks after mount cycle overlay/018: test lower hardlinks re-unite on copy up
overlay: test concurrent copy up of lower hardlinks
overlay: test nlink accounting of overlay hardlinks
overlay: test dropping nlink below zero

 tests/overlay/018     |  60 ++++++++++++++++----
 tests/overlay/018.out |  21 ++++++-
 tests/overlay/032     | 109 ++++++++++++++++++++++++++++++++++++
 tests/overlay/032.out |   4 ++
 tests/overlay/033     | 149 ++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/overlay/033.out |  69 +++++++++++++++++++++++
 tests/overlay/034     | 107 ++++++++++++++++++++++++++++++++++++
 tests/overlay/034.out |   2 +
 tests/overlay/group   |   5 +-
 9 files changed, 512 insertions(+), 14 deletions(-)
 create mode 100755 tests/overlay/032
 create mode 100644 tests/overlay/032.out
 create mode 100755 tests/overlay/033
 create mode 100644 tests/overlay/033.out
 create mode 100755 tests/overlay/034
 create mode 100644 tests/overlay/034.out
Signature · 1 line
2.7.4