[PATCH v12 08/13] dm-zoned: ensure only power of 2 zone sizes are allowed
Mike Snitzer
snitzer at redhat.com
Thu Sep 1 17:16:25 PDT 2022
On Tue, Aug 23 2022 at 8:18P -0400,
Pankaj Raghav <p.raghav at samsung.com> 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: Hannes Reinecke <hare at suse.de>
> Reviewed-by: Damien Le Moal <damien.lemoal at opensource.wdc.com>
> Signed-off-by: Luis Chamberlain <mcgrof at kernel.org>
> Signed-off-by: Pankaj Raghav <p.raghav at samsung.com>
Reviewed-by: Mike Snitzer <snitzer at kernel.org>
More information about the Linux-nvme
mailing list