Linux kernel 5.9 introduced new sysfs attributes max_active_zones and max_open_zones for zoned block devices. Blktests already handles max_active_zones. However, max_open_zones handling is missing. Also, zbd/005 lacks support for the two attributes. This patch series fills the missing attributes handling. The first patch modifies the helper function for max_active_zones to support both max_active_zones and max_open_zones. The second patch modifies zbd/005 to handle the attributes. Changes from v2: * Added Reviewed-by tags Changes from v1: * Reflected comments on the list * Added Reviewed-by tags Shin'ichiro Kawasaki (2): common/rc: Check both max_active_zones and max_open_zones zbd/005: Provide max_active/open_zones limit to fio command common/rc | 19 ++++++++++++++++--- tests/block/004 | 2 +- tests/zbd/003 | 6 +++--- tests/zbd/005 | 13 ++++++++----- 4 files changed, 28 insertions(+), 12 deletions(-) -- 2.28.0