fstests.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] xfs: add memory failure tests for dax mode
@ 2022-03-11 15:18 Shiyang Ruan
  2022-03-11 15:18 ` [PATCH 1/3] xfs: add memory failure test " Shiyang Ruan
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Shiyang Ruan @ 2022-03-11 15:18 UTC (permalink / raw)
  To: fstests; +Cc: ruansy.fnst

This patchset is to verify whether memory failure mechanism still works
with the dax-rmap feature[1].  With this feature, dax and reflink can be
used together[2].  So, we also test it for reflinked files in filesystem
mounted with dax option.

[1] https://lore.kernel.org/linux-xfs/20220227120747.711169-1-ruansy.fnst@fujitsu.com/
[2] https://lore.kernel.org/linux-xfs/20210928062311.4012070-1-ruansy.fnst@fujitsu.com/

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 | 154 ++++++++++++++++++++++++++++++++
 tests/xfs/900                   |  48 ++++++++++
 tests/xfs/900.out               |   9 ++
 tests/xfs/901                   |  49 ++++++++++
 tests/xfs/901.out               |   9 ++
 tests/xfs/902                   |  52 +++++++++++
 tests/xfs/902.out               |   9 ++
 9 files changed, 333 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.35.1




^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-04-27 18:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-11 15:18 [RFC PATCH 0/3] xfs: add memory failure tests for dax mode Shiyang Ruan
2022-03-11 15:18 ` [PATCH 1/3] xfs: add memory failure test " Shiyang Ruan
2022-04-27 18:05   ` Darrick J. Wong
2022-04-27 18:15     ` Darrick J. Wong
2022-03-11 15:18 ` [PATCH 2/3] xfs: add memory failure test for dax&reflink mode Shiyang Ruan
2022-04-27 18:07   ` Darrick J. Wong
2022-03-11 15:18 ` [PATCH 3/3] xfs: add memory failure test for partly-reflinked&dax file Shiyang Ruan
2022-04-27 18:16   ` Darrick J. Wong
2022-03-21 15:00 ` [RFC PATCH 0/3] xfs: add memory failure tests for dax mode Shiyang Ruan
2022-04-10 16:08   ` Eryu Guan
2022-04-27  6:22 ` Zorro Lang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).