]> www.infradead.org Git - users/hch/blktests.git/commit
zbd/005: Provide max_active/open_zones limit to fio command
authorShin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Tue, 29 Dec 2020 00:44:34 +0000 (09:44 +0900)
committerOmar Sandoval <osandov@fb.com>
Mon, 4 Jan 2021 22:57:17 +0000 (14:57 -0800)
commita210761ea07c41ef74379cbb3ca9c289ef8355c8
tree844d35c511cd9f2fb07ff20fef6194844222600a
parentad6f4b8f617d59946444b8689619e6679227e9f5
zbd/005: Provide max_active/open_zones limit to fio command

When test target zoned block devices have max_open_zones or
max_active_zones limit, high queue depth sequential write in the test
case zbd/005 may result in parallel writes to number of zones beyond the
limit. This causes I/O errors.

To avoid the errors, specify the limit to fio command in the test case.

Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
tests/zbd/005