Several tests are failing on zoned btrfs, but actually they are invalid. There are two reasons of the failures. One is creating too small filesystem. Since zoned btrfs needs at lease 5 zones (= 1.25 GB if zone size = 256MB) to create a filesystem, tests creating e.g., 1 GB filesystem will fail. The other reason is lacking of zone support of some dm targets and loop device. So, they need to skip the test if the testing device is zoned. Patches 1 to 3 handle the too small file system failure. And, patches 4 and 5 add checks for tests requiring non-zoned devices. Naohiro Aota (5): common/rc: introduce minimal fs size check btrfs/057: use _scratch_mkfs_sized to set filesystem size btrfs: add minimal file system size check common: add zoned block device checks shared/032: add check for zoned block device README | 4 ++++ common/dmerror | 3 +++ common/dmhugedisk | 3 +++ common/rc | 15 +++++++++++++++ tests/btrfs/057 | 2 +- tests/btrfs/141 | 1 + tests/btrfs/142 | 1 + tests/btrfs/143 | 1 + tests/btrfs/150 | 1 + tests/btrfs/151 | 1 + tests/btrfs/156 | 1 + tests/btrfs/157 | 1 + tests/btrfs/158 | 1 + tests/btrfs/175 | 1 + tests/shared/032 | 2 ++ 15 files changed, 37 insertions(+), 1 deletion(-) -- 2.31.1