[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] hw/block/nvme: conditionally enable DULBE for zoned namespac
Re: [PATCH] hw/block/nvme: conditionally enable DULBE for zoned namespaces
Fri, 15 Jan 2021 08:10:47 +0100
On Jan 14 15:39, Keith Busch wrote:
> On Mon, Jan 11, 2021 at 07:09:52PM +0100, Klaus Jensen wrote:
> > From: Klaus Jensen <firstname.lastname@example.org>
> > The device uses the BDRV_BLOCK_ZERO flag to determine the "deallocated"
> > status of logical blocks. Since the zoned namespaces command set
> > specification defines that logical blocks SHALL be marked as deallocated
> > when the zone is in the Empty or Offline states, DULBE can only be
> > supported if the zone size is a multiple of the calculated deallocation
> > granularity (reported in NPDG) which depends on the underlying block
> > device cluster size (if applicable) or the configured
> > discard_granularity.
> > Signed-off-by: Klaus Jensen <email@example.com>
> Looks good.
> Reviewed-by: Keith Busch <firstname.lastname@example.org>
Thanks! Applied to nvme-next.
Description: PGP signature