Revert "zbd: Report the zone capacity"
authorNiklas Cassel <niklas.cassel@wdc.com>
Thu, 27 Apr 2023 09:24:23 +0000 (11:24 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 27 Apr 2023 11:08:29 +0000 (05:08 -0600)
commit9724b4f5ebf0841087c5a56c1d83efe0f4aeb6d7
treee759fb1ddf169ef3b201874bbedac33bf11811f3
parent073974b24aac23610e9e13e3eb56438ad108ab31
Revert "zbd: Report the zone capacity"

This reverts commit 067c18eb3700373d029a9f2795d662453fc09cf4.

In the Linux zoned block devices API (blkzoned.h) (and in the NVMe Zoned
Namespace Command Set Specification), the zone capacity can be different
for each zone (unlike zone size, which has to be the same for all zones).

In order to not mislead the user to think that the zone capacity has to
be the same for all zones, remove the zone capacity for zone0 from the
per device print.

The zone capacity can be printed in prints that are related to a specific
zone, e.g. when encountering an error when performing I/O to a zone.

Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com>
Link: https://lore.kernel.org/r/20230427092423.605250-1-nks@flawful.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
zbd.c