[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <435aa30a-9d1e-e8e6-6a14-6f5f612cf083@nvidia.com>
Date: Wed, 14 Sep 2022 17:16:27 +0000
From: Chaitanya Kulkarni <chaitanyak@...dia.com>
To: Pankaj Raghav <p.raghav@...sung.com>, "hch@....de" <hch@....de>,
"agk@...hat.com" <agk@...hat.com>,
"damien.lemoal@...nsource.wdc.com" <damien.lemoal@...nsource.wdc.com>,
"axboe@...nel.dk" <axboe@...nel.dk>,
"snitzer@...nel.org" <snitzer@...nel.org>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"Johannes.Thumshirn@....com" <Johannes.Thumshirn@....com>,
"linux-nvme@...ts.infradead.org" <linux-nvme@...ts.infradead.org>,
"pankydev8@...il.com" <pankydev8@...il.com>,
"matias.bjorling@....com" <matias.bjorling@....com>,
"linux-block@...r.kernel.org" <linux-block@...r.kernel.org>,
"bvanassche@....org" <bvanassche@....org>,
"gost.dev@...sung.com" <gost.dev@...sung.com>,
"dm-devel@...hat.com" <dm-devel@...hat.com>,
"hare@...e.de" <hare@...e.de>,
"jaegeuk@...nel.org" <jaegeuk@...nel.org>,
Luis Chamberlain <mcgrof@...nel.org>
Subject: Re: [PATCH v13 04/13] nvmet: Allow ZNS target to support
non-power_of_2 zone sizes
On 9/12/2022 1:21 AM, Pankaj Raghav wrote:
> A generic bdev_zone_no() helper is added to calculate zone number for a
> given sector in a block device. This helper internally uses disk_zone_no()
> to find the zone number.
>
> Use the helper bdev_zone_no() to calculate nr of zones. This let's us
> make modifications to the math if needed in one place and adds now
> support for zoned devices with non po2 zone size.
>
> Reviewed by: Adam Manzanares <a.manzanares@...sung.com>
> Reviewed-by: Bart Van Assche <bvanassche@....org>
> Reviewed-by: Hannes Reinecke <hare@...e.de>
> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@....com>
> Signed-off-by: Luis Chamberlain <mcgrof@...nel.org>
> Signed-off-by: Pankaj Raghav <p.raghav@...sung.com>
Reviewed-by: Chaitanya Kulkarni <kch@...dia.com>
-ck
Powered by blists - more mailing lists