On Wed, Oct 20, 2021 at 06:53:32AM +0000, Naohiro Aota wrote:
On Wed, Oct 06, 2021 at 11:02:47PM +0200, David Sterba wrote:
quoted
On Tue, Oct 05, 2021 at 03:22:58PM +0900, Naohiro Aota wrote:
Is this still supposed to work?
$ ./mkfs.btrfs -f -O zoned -d single -m single img
...
ERROR: 16384 is not aligned to 1048576
ERROR: error during mkfs: Input/output error
On commit below this patchset it works and creates a filesystem with
zoned mode and zone size 256M.
The mkfs on an image file should work well. I tested the current
"devel" branch. While it needs a patch to replace pwrite with
btrfs_pwrite in create_free_space_tree(), it worked well besides
that. Is this failing on your side?
Yes it still fails with the patched pwrite, same error, with or without
enabling free-space-tree.