kdave / btrfs-progs

Development of userspace BTRFS tools
GNU General Public License v2.0
527 stars 239 forks source link

Zoned bgt #766

Closed adam900710 closed 3 months ago

adam900710 commented 3 months ago

There is a bug report that, the following tool would fail on zone devices:

The mkfs failure is caused by zoned incompatible pwrite() calls for block group tree metadata.

The btrfstune failure is caused by the incorrectly opened fd.

Before fixing both bugs, do two small cleanups, one caught by clangd LSP server, the other caught by my later check on the test case output (a missing newline).

Then fixes for each bug, and new test cases for each bug.

adam900710 commented 3 months ago

Wrong target branch.