[PATCH v6 0/3] fstests: basic smoke test on zoned loop device

Johannes Thumshirn
2025-10-17T05:50:15Z

Add a very basic smoke test on a zoned loopback device to check that noone is
accidentially breaking support for zoned block devices in filesystems that
support these.

Currently this includes btrfs, f2fs and xfs.

Changes to v5:
- _fail in case zloop device creation fails
- Collect Reviewed-bys on 3/3

Changes to v4:
- Find next free id in _create_zloop
- Add _destroy_zloop
- Fix typo in _create_zloop documentation
- Redirect mkfs error to seqres.full

Changes to v3:
- Don't mkdir zloop_base in test but in _create_zloop
- Add Christoph's Reviewed-by in 1/3

Changes to v2:
- Add Carlos' Reviewed-bys
- Add a _find_last_zloop() helper

Johannes Thumshirn (3):
common/zoned: add _require_zloop
common/zoned: add helpers for creation and teardown of zloop devices
generic: basic smoke for filesystems on zoned block devices

common/zoned | 61 +++++++++++++++++++++++++++++++++++++++++++
tests/generic/772 | 43 ++++++++++++++++++++++++++++++
tests/generic/772.out | 2 ++
3 files changed, 106 insertions(+)
create mode 100755 tests/generic/772
create mode 100644 tests/generic/772.out

--
2.51.0