On 7/17/20 3:36 AM, Shin'ichiro Kawasaki wrote: > Kernel 5.9 zone descriptor interface adds the new zone capacity field defining > the range of sectors usable within a zone. This patch series adds support for > this new field. > > The 1st patch adds zone capacity support to zonemode=zbd. Get zone capacity > values of each zone and adjust io_u to meet the zone capacity limit. The 2nd > patch adds a new option zonecapacity which allows to test zone capacity > handling by fio using regular block devices. Other four patches extend t/zbd > test scripts for zone capacity. > > Of note is that the zone capacity is always equal to the zone size for SCSI > drives. For NVMe ZNS and nullblk zoned drives, the zone capacity can be > smaller than the zone size. > > This series can be applied on top of another series 'zbd: Fix initial zone > write pointer of regular block devices'. Applied, thanks. -- Jens Axboe