From: Omar Sandoval <osandov@osandov.com>
To: fstests@vger.kernel.org
Cc: "Darrick J . Wong" <darrick.wong@oracle.com>,
Eryu Guan <guaneryu@gmail.com>,
kernel-team@fb.com
Subject: [PATCH 0/4] xfstests: generic swap file tests
Date: Wed, 16 May 2018 09:56:56 -0700 [thread overview]
Message-ID: <cover.1526489529.git.osandov@fb.com> (raw)
From: Omar Sandoval <osandov@fb.com>
Hi,
I picked up my Btrfs swap file series again and added a few tests as a
result. I'm still working on the Btrfs-specific tests, but since Darrick
has a pending swap file test, I figured I'd send these out and see if we
can combine them. They're a little rough around the edges.
Thanks!
Omar Sandoval (4):
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 | 3 ++
src/Makefile | 2 +-
src/mkswap.c | 83 +++++++++++++++++++++++++++++++++++++++++++
src/swapon.c | 24 +++++++++++++
tests/generic/356 | 6 +++-
tests/generic/357 | 6 +++-
tests/generic/488 | 78 ++++++++++++++++++++++++++++++++++++++++
tests/generic/488.out | 7 ++++
tests/generic/489 | 77 +++++++++++++++++++++++++++++++++++++++
tests/generic/489.out | 8 +++++
tests/generic/490 | 75 ++++++++++++++++++++++++++++++++++++++
tests/generic/490.out | 5 +++
tests/generic/group | 2 ++
14 files changed, 375 insertions(+), 3 deletions(-)
create mode 100644 src/mkswap.c
create mode 100644 src/swapon.c
create mode 100755 tests/generic/488
create mode 100644 tests/generic/488.out
create mode 100755 tests/generic/489
create mode 100644 tests/generic/489.out
create mode 100755 tests/generic/490
create mode 100644 tests/generic/490.out
--
2.17.0
next reply other threads:[~2018-05-16 16:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-16 16:56 Omar Sandoval [this message]
2018-05-16 16:56 ` [PATCH 1/4] generic: enable swapfile tests on Btrfs Omar Sandoval
2018-05-16 19:39 ` Darrick J. Wong
2018-05-16 16:56 ` [PATCH 2/4] generic: add test for dedupe on an active swapfile Omar Sandoval
2018-05-16 16:56 ` [PATCH 3/4] generic: add test for truncate/fpunch of " Omar Sandoval
2018-05-16 16:57 ` [PATCH 4/4] generic: test invalid swap file activation Omar Sandoval
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1526489529.git.osandov@fb.com \
--to=osandov@osandov.com \
--cc=darrick.wong@oracle.com \
--cc=fstests@vger.kernel.org \
--cc=guaneryu@gmail.com \
--cc=kernel-team@fb.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox