Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [PATCH 0/3] btrfs-progs: tests: add new mkfs test for zoned device
@ 2025-09-02  4:29 Naohiro Aota
  2025-09-02  4:29 ` [PATCH 1/3] btrfs-progs: tests: check nullb index for the error case Naohiro Aota
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Naohiro Aota @ 2025-09-02  4:29 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 one
fixes the error handling of _find_free_index(). And, the second one adds
wait_for_nullbdevs and cond_wait_for_nullbdevs like the loop device's
counterpart.

Naohiro Aota (3):
  btrfs-progs: tests: check nullb index for the error case
  btrfs-progs: tests: add {,cond_}wait_for_nullbdevs
  btrfs-progs: tests: add new mkfs test for zoned device

 tests/common                                | 14 +++
 tests/mkfs-tests/039-zoned-profiles/test.sh | 98 +++++++++++++++++++++
 tests/nullb                                 |  3 +
 3 files changed, 115 insertions(+)
 create mode 100755 tests/mkfs-tests/039-zoned-profiles/test.sh

--
2.51.0


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

end of thread, other threads:[~2025-09-03  7:56 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-02  4:29 [PATCH 0/3] btrfs-progs: tests: add new mkfs test for zoned device Naohiro Aota
2025-09-02  4:29 ` [PATCH 1/3] btrfs-progs: tests: check nullb index for the error case Naohiro Aota
2025-09-02  9:11   ` Qu Wenruo
2025-09-03  7:56     ` Naohiro Aota
2025-09-02  4:29 ` [PATCH 2/3] btrfs-progs: tests: add {,cond_}wait_for_nullbdevs Naohiro Aota
2025-09-02  9:15   ` Qu Wenruo
2025-09-03  7:42     ` Naohiro Aota
2025-09-02  4:29 ` [PATCH 3/3] btrfs-progs: tests: add new mkfs test for zoned device Naohiro Aota
2025-09-02  9:22   ` Qu Wenruo
2025-09-02  9:59   ` Johannes Thumshirn
2025-09-02 18:57     ` David Sterba
2025-09-03  7:45       ` Naohiro Aota

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