[PATCH v4 0/9] fstests: add test coverage for cloned filesystem ids
Anand Jain <[email protected]>
| Newsgroups | org.kernel.vger.fstests,org.kernel.vger.linux-btrfs,org.kernel.vger.linux-ext4,org.kernel.vger.linux-xfs |
|---|---|
| Message-ID | <[email protected]> |
v4:
In _loop_image_create_clone() (Patch 1/9):
. Added _require_fs_space $TEST_DIR $((size * 1024)).
. Switched to the _create_file_sized() helper.
. Used the loop device in mkfs instead of the image file directly.
. Added a sync on the loop device before copying to ensure consistency.
For test cases (Patches 3/9 to 9/9):
. Added _require_block_device $TEST_DEV.
For test case (Patch 4/9):
. Removed the ext4 patch reference in _fixed_by_kernel_commit since
that part of the plan was dropped.
v3:
https://lore.kernel.org/fstests/[email protected]
Anand Jain (9):
fstests: add _loop_image_create_clone() helper
fstests: add _clone_mount_option() helper
fstests: add test for inotify isolation on cloned devices
fstests: verify fanotify isolation on cloned filesystems
fstests: verify f_fsid for cloned filesystems
fstests: verify libblkid resolution of duplicate UUIDs
fstests: verify IMA isolation on cloned filesystems
fstests: verify exportfs file handles on cloned filesystems
fstests: btrfs: test UUID consistency for clones with metadata_uuid
common/config | 2 +
common/rc | 61 +++++++++++++++++++++++
tests/btrfs/348 | 92 ++++++++++++++++++++++++++++++++++
tests/btrfs/348.out | 19 +++++++
tests/generic/800 | 89 +++++++++++++++++++++++++++++++++
tests/generic/800.out | 7 +++
tests/generic/801 | 113 ++++++++++++++++++++++++++++++++++++++++++
tests/generic/801.out | 7 +++
tests/generic/802 | 62 +++++++++++++++++++++++
tests/generic/802.out | 7 +++
tests/generic/803 | 76 ++++++++++++++++++++++++++++
tests/generic/803.out | 19 +++++++
tests/generic/804 | 103 ++++++++++++++++++++++++++++++++++++++
tests/generic/804.out | 10 ++++
tests/generic/805 | 73 +++++++++++++++++++++++++++
tests/generic/805.out | 2 +
16 files changed, 742 insertions(+)
create mode 100644 tests/btrfs/348
create mode 100644 tests/btrfs/348.out
create mode 100644 tests/generic/800
create mode 100644 tests/generic/800.out
create mode 100644 tests/generic/801
create mode 100644 tests/generic/801.out
create mode 100644 tests/generic/802
create mode 100644 tests/generic/802.out
create mode 100644 tests/generic/803
create mode 100644 tests/generic/803.out
create mode 100644 tests/generic/804
create mode 100644 tests/generic/804.out
create mode 100644 tests/generic/805
create mode 100644 tests/generic/805.out
--
2.43.0