On Tue, Aug 23 2022 at 8:18P -0400, Pankaj Raghav <p.raghav@xxxxxxxxxxx> 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: Hannes Reinecke <hare@xxxxxxx> > Reviewed-by: Damien Le Moal <damien.lemoal@xxxxxxxxxxxxxxxxxx> > Signed-off-by: Luis Chamberlain <mcgrof@xxxxxxxxxx> > Signed-off-by: Pankaj Raghav <p.raghav@xxxxxxxxxxx> Reviewed-by: Mike Snitzer <snitzer@xxxxxxxxxx>