FS/XFS testing framework
 help / color / mirror / Atom feed
* [PATCH v4 0/3] xfs: add memory failure tests for dax mode
@ 2022-08-03  4:51 Shiyang Ruan
  2022-08-03  4:51 ` [PATCH v4 1/3] xfs: add memory failure test " Shiyang Ruan
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Shiyang Ruan @ 2022-08-03  4:51 UTC (permalink / raw)
  To: fstests; +Cc: ruansy.fnst

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


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

end of thread, other threads:[~2022-08-03  4:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-03  4:51 [PATCH v4 0/3] xfs: add memory failure tests for dax mode Shiyang Ruan
2022-08-03  4:51 ` [PATCH v4 1/3] xfs: add memory failure test " 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox