[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] hw/block/nvme: conditionally enable DULBE for zoned namespac
From: |
Klaus Jensen |
Subject: |
Re: [PATCH] hw/block/nvme: conditionally enable DULBE for zoned namespaces |
Date: |
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 <k.jensen@samsung.com>
> >
> > 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 <k.jensen@samsung.com>
>
> Looks good.
>
> Reviewed-by: Keith Busch <kbusch@kernel.org>
>
Thanks! Applied to nvme-next.
signature.asc
Description: PGP signature