From: Shiyang Ruan <ruansy.fnst@fujitsu.com>
To: <fstests@vger.kernel.org>
Cc: <ruansy.fnst@fujitsu.com>
Subject: [PATCH v4 0/3] xfs: add memory failure tests for dax mode
Date: Wed, 3 Aug 2022 04:51:28 +0000 [thread overview]
Message-ID: <1659502291-19-1-git-send-email-ruansy.fnst@fujitsu.com> (raw)
This patchset is to verify whether memory failure mechanism still works
with the fsdax-rmap feature. With this feature, fsdax and reflink can be
used together[1]. So, we also test it for reflinked files in filesystem
mounted with dax option.
[1] https://lore.kernel.org/linux-xfs/20220508143620.1775214-1-ruansy.fnst@fujitsu.com/
Changes since v3:
1. Update the copyright
Changes since v2:
1. Fixed typo in .out files
Changes since v1:
1. Fixed typo
2. Use `sysconf(_SC_PAGESIZE)` as page size, instead of the fixed 4KiB
3. Use `$(get_page_size)` in testcase
4. Unify the style of comments => /* */
Shiyang Ruan (3):
xfs: add memory failure test for dax mode
xfs: add memory failure test for dax&reflink mode
xfs: add memory failure test for partly-reflinked&dax file
.gitignore | 1 +
src/Makefile | 3 +-
src/t_mmap_cow_memory_failure.c | 157 ++++++++++++++++++++++++++++++++
tests/xfs/900 | 50 ++++++++++
tests/xfs/900.out | 9 ++
tests/xfs/901 | 51 +++++++++++
tests/xfs/901.out | 9 ++
tests/xfs/902 | 54 +++++++++++
tests/xfs/902.out | 9 ++
9 files changed, 342 insertions(+), 1 deletion(-)
create mode 100644 src/t_mmap_cow_memory_failure.c
create mode 100755 tests/xfs/900
create mode 100644 tests/xfs/900.out
create mode 100755 tests/xfs/901
create mode 100644 tests/xfs/901.out
create mode 100755 tests/xfs/902
create mode 100644 tests/xfs/902.out
--
2.37.1
next reply other threads:[~2022-08-03 4:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-03 4:51 Shiyang Ruan [this message]
2022-08-03 4:51 ` [PATCH v4 1/3] xfs: add memory failure test for dax mode Shiyang Ruan
2022-08-03 4:51 ` [PATCH v4 2/3] xfs: add memory failure test for dax&reflink mode Shiyang Ruan
2022-08-03 4:51 ` [PATCH v4 3/3] xfs: add memory failure test for partly-reflinked&dax file Shiyang Ruan
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=1659502291-19-1-git-send-email-ruansy.fnst@fujitsu.com \
--to=ruansy.fnst@fujitsu.com \
--cc=fstests@vger.kernel.org \
/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