xfstests: mount cycle overlay base fs
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 4 repliesIn review
- v1 RFC1 patch 2 repliesSuperseded
Changes in v2 from the cover letter
- Test and scratch base dirs each have thier own base fs
- Support mount cycles of base fs for scratch tests
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | overlay: configure base fs mount point for running testscommon/ common/ | +62 | 2 replies | |
| 2/3 | overlay: use SCRATCH_BASE_DIR instead of SCRATCH_DEVtests/ tests/ tests/ +17 more | +56 | 0 replies | |
| 3/3 | overlay: mount/unmount base fs before/after running testscommon/ common/ tests/ +2 more | +54 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3] xfstests: mount cycle overlay base fs
Eryu,
The main motivation for this work was to help catch overlayfs bugs related to leaking objects in underlying (base) fs.
Along the way, it also addresses the config of fake TEST/SCRATCH_DEV to refer to directories.
I split the patches to 2 main changes:
1) convert old config with config of already mounted test/scratch base fs (backward compat with old config is maintained)
2) (optional) configure blockdev of base fs for mount cycling base fs
I tested -g quick with all 3 configuraions:
- old (*_DEV)
- new (only *_BASE_MNT)
- new (*_BASE_MNT and *_BASE_DEV)
v2:
- Test and scratch base dirs each have thier own base fs
- Support mount cycles of base fs for scratch tests
v1:
- Both test and scratch base dirs on a single base fs
Amir Goldstein (3):
overlay: configure base fs mount point for running tests
overlay: use SCRATCH_BASE_DIR instead of SCRATCH_DEV
overlay: mount/unmount base fs before/after running tests
common/config | 56 ++++++++++++++++++++++++++++++++++++++++++++++++- common/rc | 62 +++++++++++++++++++++++++++++++++++++++++++++++-------- tests/overlay/001 | 7 +++---- tests/overlay/002 | 2 +- tests/overlay/003 | 5 +++-- tests/overlay/004 | 7 ++++--- tests/overlay/005 | 30 +++++++++++++-------------- tests/overlay/006 | 8 +++---- tests/overlay/008 | 4 ++-- tests/overlay/009 | 2 +- tests/overlay/010 | 10 ++++----- tests/overlay/011 | 4 ++-- tests/overlay/012 | 4 ++-- tests/overlay/013 | 4 ++-- tests/overlay/014 | 19 +++++++++-------- tests/overlay/015 | 2 +- tests/overlay/016 | 2 +- tests/overlay/017 | 2 +- tests/overlay/018 | 2 +- tests/overlay/019 | 2 +- tests/overlay/020 | 2 +- tests/overlay/021 | 6 +++--- 22 files changed, 171 insertions(+), 71 deletions(-)
Signature · 1 line
2.7.4