[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <085ac6a6-201e-92d1-a72f-d34da0315fb9@nvidia.com>
Date: Mon, 9 Jan 2023 07:42:17 +0000
From: Chaitanya Kulkarni <chaitanyak@...dia.com>
To: Pankaj Raghav <p.raghav@...sung.com>,
"axboe@...nel.dk" <axboe@...nel.dk>
CC: "kernel@...kajraghav.com" <kernel@...kajraghav.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"hare@...e.de" <hare@...e.de>,
"bvanassche@....org" <bvanassche@....org>,
"snitzer@...nel.org" <snitzer@...nel.org>,
"dm-devel@...hat.com" <dm-devel@...hat.com>,
"damien.lemoal@...nsource.wdc.com" <damien.lemoal@...nsource.wdc.com>,
"linux-nvme@...ts.infradead.org" <linux-nvme@...ts.infradead.org>,
"hch@....de" <hch@....de>,
"linux-block@...r.kernel.org" <linux-block@...r.kernel.org>,
"gost.dev@...sung.com" <gost.dev@...sung.com>
Subject: Re: [PATCH 2/7] block: add a new helper bdev_{is_zone_start,
offset_from_zone_start}
On 1/6/23 00:33, Pankaj Raghav wrote:
> Instead of open coding to check for zone start, add a helper to improve
> readability and store the logic in one place.
>
> bdev_offset_from_zone_start() will be used later in the series.
>
> Signed-off-by: Pankaj Raghav <p.raghav@...sung.com>
Looks good.
Reviewed-by: Chaitanya Kulkarni <kch@...dia.com>
-ck
Powered by blists - more mailing lists