This series adds a test for checking if an active zone tracking feature of btrfs's zoned mode. The first patch introduces _zone_capacity() helper to get the zone capacity of a specified zone. It rewrites btrfs/237 with the helper and use the helper in a newly added test btrfs/292. Naohiro Aota (2): common: introduce zone_capacity() to return a zone capacity btrfs: test active zone tracking common/zbd | 29 ++++++++++ tests/btrfs/237 | 8 +-- tests/btrfs/292 | 137 ++++++++++++++++++++++++++++++++++++++++++++ tests/btrfs/292.out | 2 + 4 files changed, 170 insertions(+), 6 deletions(-) create mode 100644 common/zbd create mode 100755 tests/btrfs/292 create mode 100644 tests/btrfs/292.out -- 2.37.3