Skip to content

overlay mount tests

Amir Goldstein fstests linux-unionfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5overlay/014: remove unneeded require and includetests/overlay/014+0 -20 replies
2/5overlay/014: fix test with inodes index enabledtests/overlay/014+3 -22 replies
3/5overlay: create overlay/mount test grouptests/overlay/group+2 -20 replies
4/5overlay: test cases that force read-only mounttests/overlay/035 tests/overlay/035.out tests/overlay/group+93 -02 replies
5/5overlay: test mount error cases with exclusive directoriestests/overlay/036 tests/overlay/036.out tests/overlay/group+86 -05 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/5] overlay mount tests

Eryu,

overlayfs-next brings some changes of mount behavior described at [1]. Some of the changes depend on the new inodes index opt-in feature and some don't.

The new test overlay/035 checks for overlay mount behaviors, which are already present in upstream.

The new test overlay/036 checks for new overlay mount behaviors related to exclusivity of upper and work dirs among overlay mounts. This test is expected to fail on upstream kernel, but for a good reason, because the mount configurations that it tests (sharing upper dir among two overlay mounts) are not wise at all.

The old test overlay/014 is modified to work well with current upstream kernel as well as with overlayfs-next with inodes index enabled.

I have one more test for the overlay/mount group to test specific behavior with index=on, but holding it back until Miklos picks up a patch that fixes one of the mount verifications that is currently broken on overlayfs-next.

Thanks,
Amir.

[1] https://github.com/amir73il/linux/commit/9412812ef54861081904f24ddaf176b957b98d40

Amir Goldstein (5):
overlay/014: remove unneeded require and include overlay/014: fix test with inodes index enabled
overlay: create overlay/mount test group
overlay: test cases that force read-only mount
overlay: test mount error cases with exclusive directories

 tests/overlay/014     |  7 ++---
 tests/overlay/035     | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/overlay/035.out |  5 +++
 tests/overlay/036     | 82 ++++++++++++++++++++++++++++++++++++++++++++++++
 tests/overlay/036.out |  3 ++
 tests/overlay/group   |  6 ++--
 6 files changed, 184 insertions(+), 6 deletions(-)
 create mode 100755 tests/overlay/035
 create mode 100644 tests/overlay/035.out
 create mode 100755 tests/overlay/036
 create mode 100644 tests/overlay/036.out
Signature · 1 line
2.7.4