xfstests: generic swap file tests
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest5 patches 0 repliesNew
- v25 patches 5 repliesSuperseded
- v14 patches 1 replySuperseded
Changes in v3 from the cover letter
- Remove file before formatting in _format_swapfile
- Comment on chattr in _format_swapfile
- Remove unnecessary label
- Fix typo in commit message of patch 3
- Redirect chattr +C output in patch 5 to fix XFS failures
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | xfstests: create swap grouptests/ tests/ | +3 | 0 replies | |
| 2/5 | generic: enable swapfile tests on Btrfscommon/ tests/ tests/ | +21 | 0 replies | |
| 3/5 | generic: add test for dedupe on an active swapfiletests/ tests/ tests/ | +84 | 0 replies | |
| 4/5 | generic: add test for truncate/fpunch of an active swapfiletests/ tests/ tests/ | +82 | 0 replies | |
| 5/5 | generic: test invalid swap file activation.gitignore src/ src/ +4 more | +193 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/5] xfstests: generic swap file tests
From: Omar Sandoval <[email protected]>
Changes since v2:
- Remove file before formatting in _format_swapfile
- Comment on chattr in _format_swapfile
- Remove unnecessary label
- Fix typo in commit message of patch 3
- Redirect chattr +C output in patch 5 to fix XFS failures
Omar Sandoval (5):
xfstests: create swap group
generic: enable swapfile tests on Btrfs
generic: add test for dedupe on an active swapfile
generic: add test for truncate/fpunch of an active swapfile
generic: test invalid swap file activation
.gitignore | 2 ++ common/rc | 17 +++++++-- src/Makefile | 2 +- src/mkswap.c | 83 +++++++++++++++++++++++++++++++++++++++++++ src/swapon.c | 24 +++++++++++++ tests/generic/356 | 7 ++-- tests/generic/357 | 6 ++-- tests/generic/492 | 76 +++++++++++++++++++++++++++++++++++++++ tests/generic/492.out | 7 ++++ tests/generic/493 | 73 +++++++++++++++++++++++++++++++++++++ tests/generic/493.out | 8 +++++ tests/generic/494 | 77 +++++++++++++++++++++++++++++++++++++++ tests/generic/494.out | 5 +++ tests/generic/group | 7 ++-- tests/xfs/group | 2 +- 15 files changed, 383 insertions(+), 13 deletions(-) create mode 100644 src/mkswap.c create mode 100644 src/swapon.c create mode 100755 tests/generic/492 create mode 100644 tests/generic/492.out create mode 100755 tests/generic/493 create mode 100644 tests/generic/493.out create mode 100755 tests/generic/494 create mode 100644 tests/generic/494.out
Signature · 1 line
2.17.0