All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH blktests 0/3] Support max_active_zones
@ 2020-10-01 10:15 Shin'ichiro Kawasaki
  2020-10-01 10:15 ` [PATCH blktests 1/3] common/rc: Add _test_dev_max_active_zones() helper function Shin'ichiro Kawasaki
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Shin'ichiro Kawasaki @ 2020-10-01 10:15 UTC (permalink / raw)
  To: linux-block, Omar Sandoval
  Cc: Omar Sandoval, Damien Le Moal, Johannes Thumshirn,
	Chaitanya Kulkarni, Shinichiro Kawasaki

Linux kernel 5.9 introduced a new sysfs attribute "max_active_zones". It
is an attribute of zoned block devices which indicates the limit of zones
in open or close status. When zoned block devices has this limit, test cases
block/004 and zbd/003 fail since write operations in them open zones and the
number of open zones excceds the limit.

This patch series addresses the failures. The first patch introduces a
helper function to get the max_active_zones value. Following patches modify
the two test cases to avoid the failures.

Shin'ichiro Kawasaki (3):
  common/rc: Add _test_dev_max_active_zones() helper function
  block/004: Provide max_active_zones to fio command
  zbd/003: Reset zones when the test device has max_active_zones limit

 common/rc       | 8 ++++++++
 tests/block/004 | 9 ++++-----
 tests/zbd/003   | 5 +++++
 3 files changed, 17 insertions(+), 5 deletions(-)

-- 
2.26.2


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-10-01 10:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-01 10:15 [PATCH blktests 0/3] Support max_active_zones Shin'ichiro Kawasaki
2020-10-01 10:15 ` [PATCH blktests 1/3] common/rc: Add _test_dev_max_active_zones() helper function Shin'ichiro Kawasaki
2020-10-01 10:26   ` Johannes Thumshirn
2020-10-01 10:15 ` [PATCH blktests 2/3] block/004: Provide max_active_zones to fio command Shin'ichiro Kawasaki
2020-10-01 10:25   ` Johannes Thumshirn
2020-10-01 10:41     ` Shinichiro Kawasaki
2020-10-01 10:43       ` Johannes Thumshirn
2020-10-01 10:15 ` [PATCH blktests 3/3] zbd/003: Reset zones when the test device has max_active_zones limit Shin'ichiro Kawasaki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.