Re: [PATCH blktests v3 0/2] Support max_open_zones and max_active_zones
From: Omar Sandoval <osandov@osandov.com>
Date: 2021-01-04 23:22:27
From: Omar Sandoval <osandov@osandov.com>
Date: 2021-01-04 23:22:27
On Tue, Dec 29, 2020 at 09:44:32AM +0900, Shin'ichiro Kawasaki wrote:
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(-)
Thanks, applied.