Re: [dm-devel] [PATCH v12 08/13] dm-zoned: ensure only power of 2 zone sizes are allowed

From: Bart Van Assche
Date: Thu Aug 25 2022 - 17:51:27 EST


On 8/23/22 05:18, Pankaj Raghav wrote:
From: Luis Chamberlain <mcgrof@xxxxxxxxxx>

dm-zoned relies on the assumption that the zone size is a
power-of-2(po2) and the zone capacity is same as the zone size.

Ensure only po2 devices can be used as dm-zoned target until a native
support for zoned devices with non-po2 zone size is added.

Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>