mbox series

[blktests,v2,0/2] Support max_open_zones and max_active_zones

Message ID 20201204024235.273924-1-shinichiro.kawasaki@wdc.com (mailing list archive)
Headers show
Series Support max_open_zones and max_active_zones | expand

Message

Shinichiro Kawasaki Dec. 4, 2020, 2:42 a.m. UTC
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 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(-)