Skip to content

xfstests: generic swap file tests

Omar Sandoval fstests linux-xfs 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 0 repliesNew
  2. v25 patches 5 repliesSuperseded
  3. 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 filesSizeRepliesApplied
1/5xfstests: create swap grouptests/generic/group tests/xfs/group+3 -30 replies
2/5generic: enable swapfile tests on Btrfscommon/rc tests/generic/356 tests/generic/357+21 -90 replies
3/5generic: add test for dedupe on an active swapfiletests/generic/492 tests/generic/492.out tests/generic/group+84 -00 replies
4/5generic: add test for truncate/fpunch of an active swapfiletests/generic/493 tests/generic/493.out tests/generic/group+82 -00 replies
5/5generic: test invalid swap file activation.gitignore src/Makefile src/mkswap.c +4 more+193 -10 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/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