[PATCH v12 09/13] dm-zone: use generic helpers to calculate offset from zone start

Mike Snitzer snitzer at redhat.com
Thu Sep 1 17:16:56 PDT 2022


On Tue, Aug 23 2022 at  8:18P -0400,
Pankaj Raghav <p.raghav at samsung.com> wrote:

> Use the bdev_offset_from_zone_start() helper function to calculate
> the offset from zone start instead of using power of 2 based
> calculation.
> 
> Signed-off-by: Pankaj Raghav <p.raghav at samsung.com>
> Reviewed-by: Luis Chamberlain <mcgrof at kernel.org>
> Reviewed-by: Damien Le Moal <damien.lemoal at opensource.wdc.com>

Reviewed-by: Mike Snitzer <snitzer at kernel.org>




More information about the Linux-nvme mailing list