An ENOSPC error isn't particularly helpful to users. It would be better if btrfs-progs would print a warning describing that there isn't enough unallocated space available to perform the conversion.
Bonus points if btrfs (kernel or progs) would understand that it needs to compact some data chunks and do this automatically (with a warning?).
It would be good if btrfs-progs would evaluate if a balance operation is likely to work, and warn the user otherwise (like when doing a full balance).
For example, a user wanted to convert the following filesystem to DUP metadata, but it failed with ENOSPC.
An ENOSPC error isn't particularly helpful to users. It would be better if btrfs-progs would print a warning describing that there isn't enough unallocated space available to perform the conversion.
Bonus points if btrfs (kernel or progs) would understand that it needs to compact some data chunks and do this automatically (with a warning?).