[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YmrO+2sexVkJEaIr@bombadil.infradead.org>
Date: Thu, 28 Apr 2022 10:29:31 -0700
From: Luis Chamberlain <mcgrof@...nel.org>
To: Damien Le Moal <damien.lemoal@...nsource.wdc.com>
Cc: Pankaj Raghav <p.raghav@...sung.com>, jaegeuk@...nel.org,
axboe@...nel.dk, snitzer@...nel.org, hch@....de,
naohiro.aota@....com, sagi@...mberg.me, dsterba@...e.com,
johannes.thumshirn@....com, linux-kernel@...r.kernel.org,
linux-btrfs@...r.kernel.org, clm@...com, gost.dev@...sung.com,
chao@...nel.org, linux-f2fs-devel@...ts.sourceforge.net,
josef@...icpanda.com, jonathan.derrick@...ux.dev, agk@...hat.com,
kbusch@...nel.org, kch@...dia.com, linux-nvme@...ts.infradead.org,
dm-devel@...hat.com, bvanassche@....org, jiangbo.365@...edance.com,
linux-fsdevel@...r.kernel.org, matias.bjorling@....com,
linux-block@...r.kernel.org
Subject: Re: [PATCH 04/16] block: allow blk-zoned devices to have
non-power-of-2 zone size
On Thu, Apr 28, 2022 at 08:37:27AM +0900, Damien Le Moal wrote:
> Also, the entire premise of this patch series is that it is hard for
> people to support the unusable sectors between zone capacity and zone end
> for drives with a zone capacity smaller than the zone size.
>
> Yet, here you do not check that zone capacity == zone size for drives that
> do not have a zone size equal to a power of 2 number of sectors. This
> means that we can still have drives with ZC < ZS AND ZS not equal to a
> power of 2. So from the point of view of your arguments, no gains at all.
> Any thoughts on this ?
You are right, a check should be added on bringup so that if npo2 is
used, zone cap == zone size. That should be added on the next iteration
of this patch.
Luis
Powered by blists - more mailing lists