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

Bart Van Assche bvanassche at acm.org
Thu Aug 25 14:50:45 PDT 2022


On 8/23/22 05:18, Pankaj Raghav wrote:
> From: Luis Chamberlain <mcgrof at kernel.org>
> 
> 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 at acm.org>




More information about the Linux-nvme mailing list