Re: [LSF/MM/BPF BoF] BoF for Zoned Storage

Luis Chamberlain
2022-03-07T15:44:26Z

On Mon, Mar 07, 2022 at 08:56:30AM +0900, Damien Le Moal wrote:
> btrfs maps zones to block groups and the sectors between zone capacity
> and zone size are marked as unusable. The report above is not showing
> that. The coding is correct though. The block allocation will not be
> attempted beyond zone capacity.

That does not explain or justify why zone size was used instead of zone
capacity. Using the zones size gives an incorrect inflated sense of actual
capacity, and users / userspace applications can easily missuse that.

Should other filesystems follow this logic as well? If so why?

Luis