[PATCH v3 0/5] generic: add a couple of MMAP CoW tests

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



There is a set of CoW tests which is to 
  > Check what happens if we BufferedIO/DIO CoW blocks 2-4 of a page's worth
  > of blocks when the second block is a regular/unwritten/hole/delalloc/mixed
  > block.
I think a test of MMAP CoW is also needed for these kind of testsets.  So,
add MMAP CoW for each case.

Changes from V2:
  - remove overrided _leanup() because these are tests on scratch device
  - not run when delalloc block not acutally exists in cases contains 'delalloc'
  - remove redundant tests in 'mixed' case
==
Shiyang Ruan (5):
  generic: add mmap CoW test for 'regular' case
  generic: add mmap CoW test for 'unwritten' case
  generic: add mmap CoW test for 'hole' case
  generic: add mmap CoW test for 'delalloc' case
  generic: add mmap CoW test for 'mixed' case

 tests/generic/900     |  68 ++++++++++++++++++++++
 tests/generic/900.out |   6 ++
 tests/generic/901     |  69 ++++++++++++++++++++++
 tests/generic/901.out |   6 ++
 tests/generic/902     |  63 ++++++++++++++++++++
 tests/generic/902.out |   6 ++
 tests/generic/903     |  73 +++++++++++++++++++++++
 tests/generic/903.out |   6 ++
 tests/generic/904     | 132 ++++++++++++++++++++++++++++++++++++++++++
 tests/generic/904.out |  62 ++++++++++++++++++++
 10 files changed, 491 insertions(+)
 create mode 100755 tests/generic/900
 create mode 100644 tests/generic/900.out
 create mode 100755 tests/generic/901
 create mode 100644 tests/generic/901.out
 create mode 100755 tests/generic/902
 create mode 100644 tests/generic/902.out
 create mode 100755 tests/generic/903
 create mode 100644 tests/generic/903.out
 create mode 100755 tests/generic/904
 create mode 100644 tests/generic/904.out

-- 
2.33.0






[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux