On Mon, Jan 11, 2021 at 07:09:52PM +0100, Klaus Jensen wrote:
> From: Klaus Jensen <[email protected]>
> 
> 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 protected]>

Looks good.

Reviewed-by: Keith Busch <[email protected]>

Reply via email to