public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH blktests v2 0/2] zbd: adjust to recent blkzone change
@ 2026-02-20 13:23 Shin'ichiro Kawasaki
  2026-02-20 13:23 ` [PATCH blktests v2 1/2] zbd/rc: do not use invalid write pointer values by blkzone report Shin'ichiro Kawasaki
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Shin'ichiro Kawasaki @ 2026-02-20 13:23 UTC (permalink / raw)
  To: linux-block; +Cc: Damien Le Moal, Wilfred Mallawa, Shin'ichiro Kawasaki

After the recent change in util-linux [1], 'blkzone report' command no
longer reports numeric values for write pointers when the write pointers
are invalid. This change caused two failure symptoms in the zbd test
group. The first failure symptom is arithmetic failures by evaluating
the string 'N/A' as a numeric value. The second failure symptom is
write pointer validity check failure for conventional zones. The two
patches in this series address the two failure symptoms respectively.

Link: [1] https://github.com/util-linux/util-linux/commit/b032247f48d8b6a13bf8541eb663c779e448f568

Changes from v1:
- 1st patch: Added the check for read-only and offline conditions
- 1st patch: Added the check for conventional zones
- 1st patch: Use the value -1 when write pointers are invalid
- Added the 2nd patch for zbd/002 failure case
- Link to v1: https://lore.kernel.org/linux-block/20260219121940.174239-1-shinichiro.kawasaki@wdc.com/


Shin'ichiro Kawasaki (2):
  zbd/rc: do not use invalid write pointer values by blkzone report
  zbd/002: do not check write pointers of conventional zones

 tests/zbd/002 |  3 ++-
 tests/zbd/rc  | 19 +++++++++++++++----
 2 files changed, 17 insertions(+), 5 deletions(-)

-- 
2.53.0


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

end of thread, other threads:[~2026-02-27  6:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-20 13:23 [PATCH blktests v2 0/2] zbd: adjust to recent blkzone change Shin'ichiro Kawasaki
2026-02-20 13:23 ` [PATCH blktests v2 1/2] zbd/rc: do not use invalid write pointer values by blkzone report Shin'ichiro Kawasaki
2026-02-26  4:17   ` Damien Le Moal
2026-02-20 13:23 ` [PATCH blktests v2 2/2] zbd/002: do not check write pointers of conventional zones Shin'ichiro Kawasaki
2026-02-26  4:18   ` Damien Le Moal
2026-02-27  6:48 ` [PATCH blktests v2 0/2] zbd: adjust to recent blkzone change Shinichiro Kawasaki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox