On Oct 01, 2020 / 10:25, Johannes Thumshirn wrote: > On 01/10/2020 12:15, Shin'ichiro Kawasaki wrote: > > If the test target devices is a zoned block device with max_active_zones > > limit, the fio command in block/004 opens zones beyond the limit and > > fails with I/O errors. > > > > To avoid the failure, pass the limit value to fio using --max_open_zones > > option. This option, which was introduced to fio together with > > zonemode=zbd, keeps the number of open zones within the specified value. > > What happens if I use a fio version that does not have the --max_open_zones > option defined? The option --max_open_zones was introduced to fio together with zonemode=zbd, since the beginning of fio's zoned block device support. If the test target device is a zoned block device, the test case block/004 checks that fio supports zonemode=zbd. I think this check is valid for --max_open_zones also. -- Best Regards, Shin'ichiro Kawasaki