Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [PATCH v2 0/4] btrfs-progs: tests: add new mkfs test for zoned device
@ 2025-09-10  5:04 Naohiro Aota
  2025-09-10  5:04 ` [PATCH v2 1/4] btrfs-progs: tests: output error/warn message to stderr Naohiro Aota
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Naohiro Aota @ 2025-09-10  5:04 UTC (permalink / raw)
  To: linux-btrfs; +Cc: Naohiro Aota

This series adds a new mkfs test for zoned device. The test is based on
mkfs-tests/001-basic-profiles, but uses nullb devices instead of loop
devices, to set a zoned profile.

Two preparation patches are necessaly for the test case. The first and
second one fix the error handling of _find_free_index(). And, the third
one adds wait_for_nullbdevs like the loop device's counterpart.

Changes:
- v2
  - Refine error/warn helpers not to print the message to stdout.
  - Drop cond_wait_for_nullbdevs.
  - Check if btrfs-progs is build with EXPERIMENTAL in the test.


Naohiro Aota (4):
  btrfs-progs: tests: output error/warn message to stderr
  btrfs-progs: tests: check nullb index for the error case
  btrfs-progs: tests: add wait_for_nullbdevs
  btrfs-progs: tests: add new mkfs test for zoned device

 tests/common                                |  8 ++
 tests/mkfs-tests/039-zoned-profiles/test.sh | 98 +++++++++++++++++++++
 tests/nullb                                 |  7 +-
 3 files changed, 111 insertions(+), 2 deletions(-)
 create mode 100755 tests/mkfs-tests/039-zoned-profiles/test.sh

--
2.51.0


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

end of thread, other threads:[~2025-10-16 17:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-10  5:04 [PATCH v2 0/4] btrfs-progs: tests: add new mkfs test for zoned device Naohiro Aota
2025-09-10  5:04 ` [PATCH v2 1/4] btrfs-progs: tests: output error/warn message to stderr Naohiro Aota
2025-09-10  5:22   ` Qu Wenruo
2025-09-10  5:04 ` [PATCH v2 2/4] btrfs-progs: tests: check nullb index for the error case Naohiro Aota
2025-09-10  5:22   ` Qu Wenruo
2025-09-10  5:04 ` [PATCH v2 3/4] btrfs-progs: tests: add wait_for_nullbdevs Naohiro Aota
2025-09-10  5:22   ` Qu Wenruo
2025-09-10  5:04 ` [PATCH v2 4/4] btrfs-progs: tests: add new mkfs test for zoned device Naohiro Aota
2025-10-16 17:53 ` [PATCH v2 0/4] " David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox