On Tue, Jun 16, 2020 at 08:34:20AM +0900, Keith Busch wrote: > From: Matias Bjørling <matias.bjorling@xxxxxxx> > > In the zoned storage model, the sectors within a zone are typically all > writeable. With the introduction of the Zoned Namespace (ZNS) Command > Set in the NVM Express organization, the model was extended to have a > specific writeable capacity. > > Extend the zone descriptor data structure with a zone capacity field to > indicate to the user how many sectors in a zone are writeable. > > Introduce backward compatibility in the zone report ioctl by extending > the zone report header data structure with a flags field to indicate if > the capacity field is available. > > Signed-off-by: Matias Bjørling <matias.bjorling@xxxxxxx> Reviewed-by: Daniel Wagner <dwagner@xxxxxxx>