linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] btrfs: test active zone tracking
@ 2022-09-29  4:19 Naohiro Aota
  2022-09-29  4:19 ` [PATCH v2 1/2] common: introduce zone_capacity() to return a zone capacity Naohiro Aota
  2022-09-29  4:19 ` [PATCH v2 2/2] btrfs: test active zone tracking Naohiro Aota
  0 siblings, 2 replies; 10+ messages in thread
From: Naohiro Aota @ 2022-09-29  4:19 UTC (permalink / raw)
  To: fstests; +Cc: linux-btrfs, Naohiro Aota

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.

Changes:
- v2:
  - Rename to common/zoned.
  - Move _filter_blkzone_report() as well to common/zoned.
  - Drop _require_fio as it was already unnecessary.

Naohiro Aota (2):
  common: introduce zone_capacity() to return a zone capacity
  btrfs: test active zone tracking

 common/filter       |  13 -----
 common/zoned        |  39 +++++++++++++
 tests/btrfs/237     |   8 +--
 tests/btrfs/292     | 136 ++++++++++++++++++++++++++++++++++++++++++++
 tests/btrfs/292.out |   2 +
 5 files changed, 179 insertions(+), 19 deletions(-)
 create mode 100644 common/zoned
 create mode 100755 tests/btrfs/292
 create mode 100644 tests/btrfs/292.out

-- 
2.37.3


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-09-30  6:29 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-29  4:19 [PATCH v2 0/2] btrfs: test active zone tracking Naohiro Aota
2022-09-29  4:19 ` [PATCH v2 1/2] common: introduce zone_capacity() to return a zone capacity Naohiro Aota
2022-09-29  5:15   ` Zorro Lang
2022-09-30  6:19     ` Naohiro Aota
2022-09-29  4:19 ` [PATCH v2 2/2] btrfs: test active zone tracking Naohiro Aota
2022-09-29  6:01   ` Zorro Lang
2022-09-29 12:04     ` David Sterba
2022-09-29 14:06       ` Zorro Lang
2022-09-30  6:21         ` Naohiro Aota
2022-09-30  6:29     ` Naohiro Aota

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).