]> www.infradead.org Git - users/hch/blktests.git/commit
block/004: Provide max_active_zones to fio command
authorShin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Thu, 1 Oct 2020 10:15:30 +0000 (19:15 +0900)
committerOmar Sandoval <osandov@fb.com>
Thu, 22 Oct 2020 21:36:31 +0000 (14:36 -0700)
commitd533a5944c08a67d3858c0728d33a9c0bffbd8b5
treee53df9cca211b7fbaed507843ea765d37baadf2c
parente6981bb2d9ceb06b2f310e149346d638ffd62681
block/004: Provide max_active_zones to fio command

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.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
tests/block/004