tmpfs fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 16 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | generic/449: not run on tmpfs earliertests/ | +6 | 1 reply | |
| 2/5 | common/config: fix RECREATE_TEST_DEV initializationcommon/ | +1 | 2 replies | |
| 3/5 | common/rc: add recreation support for tmpfscommon/ | +4 | 5 replies | |
| 4/5 | common/rc: fix scratch mount options for tmpfscommon/ | +1 | 4 replies | |
| 5/5 | common/rc: print scratch and test mount optionscheck common/ | +22 | 4 replies |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | Darrick J. Wong | Zorro Lang |
|---|---|---|
| 1/5 | ||
| 2/5 | R-b | R-b |
| 3/5 | ||
| 4/5 | ||
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] tmpfs fixes
This series addresses some minor issues found in tmpfs FSQA suit test case.
The last patch adds information about mkfs and mount options for TEST and SCRATCH devices. This is important to clarify especially if RECREATE_TEST_DEV is disabled (which is the default case). The new output will look like the following:
SECTION -- tmpfs_noswap_huge_always RECREATING -- tmpfs on /media/test FSTYP -- tmpfs PLATFORM -- Linux/aarch64 localhost 6.10.0-rc3-dgc #6 SMP Thu Jun 13 22:48:46 CEST 2024
TEST device:MKFS_OPTIONS -- /media/testMOUNT_OPTIONS -- -o size=1G /media/test /media/test
SCRATCH device:MKFS_OPTIONS -- /media/scratchMOUNT_OPTIONS -- -o size=1G -o noswap,huge=always /media/scratch /media/scratch
Regarding $TMPFS_MOUNT_OPTIONS, when it is defined in the [default] section of a configuration file, the mount options specified there will be prefixed to the test section options. Is this the correct and expected behaviour?
Example:
```localhost.config [default] FSTYP=tmpfs TEST_DIR=/media/test SCRATCH_MNT=/media/scratch SCRATCH_DEV=/media/scratch RESULT_BASE=$PWD/results/$HOST/$(uname -r) TEST_DEV=/media/test CANON_DEVS=yes TMPFS_MOUNT_OPTIONS="-o size=3G" [tmpfs_noswap_huge_always] TMPFS_MOUNT_OPTIONS="-o noswap,huge=always" ```
Note: The above config would result in '-o size=1G -o size=3G -o noswap,huge=always' at mount time for tmpfs_noswap_huge_always section. The '-o size=1G' is a hardcoded prefix mount option.
Daniel
Daniel Gomez (4):
common/config: fix RECREATE_TEST_DEV initialization common/rc: add recreation support for tmpfs common/rc: fix scratch mount options for tmpfs common/rc: print scratch and test mount options
Hugh Dickins (1):
generic/449: not run on tmpfs earlier
check | 4 ++++ common/config | 2 +- common/rc | 25 ++++++++++++++++++++++--- tests/generic/449 | 6 ++++++ 4 files changed, 33 insertions(+), 4 deletions(-)
Signature · 1 line
2.43.0