On Wed, May 01, 2024 at 09:09:22AM +0900, Damien Le Moal wrote:
> +static int dm_check_zoned(struct mapped_device *md, struct dm_table *t)
> +{
> +     struct gendisk *disk = md->disk;
> +     unsigned int nr_conv_zones = 0;
> +     int ret;
> +
> +     /* Revalidate only if something changed. */
> +     md->zone_revalidate_map = t;
> +     ret = dm_blk_report_zones(disk, 0, UINT_MAX,
> +                               dm_check_zoned_cb, &nr_conv_zones);

Aside from not really understanding what that comment is getting at, it
looks good.

Reviewed-by: Benjamin Marzinski <[email protected]>


Reply via email to