Re: [PATCH v6 09/28] btrfs: align device extent allocation to zone boundary

Josef Bacik
2019-12-13T20:39:33Z

On 12/12/19 11:08 PM, Naohiro Aota wrote:
> In HMZONED mode, align the device extents to zone boundaries so that a zone
> reset affects only the device extent and does not change the state of
> blocks in the neighbor device extents. Also, check that a region allocation
> is always over empty zones and it is not over any locations of super block
> zones.
>
> This patch also add a verification in verify_one_dev_extent() to check if
> the device extent is align to zone boundary.
>
> Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>

Reviewed-by: Josef Bacik <josef@toxicpanda.com>

Thanks,

Josef