FROMLIST: dm-zoned: ensure only power of 2 zone sizes are allowed
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@suse.de> Reviewed-by:
Damien Le Moal <damien.lemoal@opensource.wdc.com> Reviewed-by:
Bart Van Assche <bvanassche@acm.org> Reviewed-by:
Mike Snitzer <snitzer@kernel.org> Reviewed-by:
Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by:
Luis Chamberlain <mcgrof@kernel.org> Signed-off-by:
Pankaj Raghav <p.raghav@samsung.com> Link: https://lore.kernel.org/linux-block/20220923173618.6899-9-p.raghav@samsung.com/ Bug: 197782466 Bug: 269471019 Change-Id: I7b043036a9b95de779bc296465ccf4d9a0f222a2 Signed-off-by:
Bart Van Assche <bvanassche@google.com>
Loading
Please sign in to comment