All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/7] Improve open zones accounting
@ 2020-09-01  8:19 Shin'ichiro Kawasaki
  2020-09-01  8:20 ` [PATCH v3 1/7] zbd: Decrement open zones count at write command completion Shin'ichiro Kawasaki
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Shin'ichiro Kawasaki @ 2020-09-01  8:19 UTC (permalink / raw)
  To: fio, Jens Axboe; +Cc: Damien Le Moal, Dmitry Fomichev, Shinichiro Kawasaki

The max_open_zones and job_max_open_zones option control number of write target
open zones within the specified limit. Currently, this write target zone
accounting is not accurate enough. Even with these options set, the limits can
exceed during write workloads.

This patch series improves accuracy of the open zones accounting. The first
patch moves the moment to decrement number of currently open zones from write
command submit to write command completion. This avoids zone writes beyond the
limit caused by concurrent write commands at queue depths approaching the max
limits. The second and third patches fix the open zone status initialization
issue. Other following patches improve t/zbd scripts to take maximum write
target zone limit and allow to test devices with the limit.

Changes from v2:
* Improved code comment per review on the list

Changes from v1:
* Improved open zones list initialization to reset zones beyond max open zones
* Added the 2nd patch which is required for the open zones list initialization
* Reflected various comments on the list

Shin'ichiro Kawasaki (7):
  zbd: Decrement open zones count at write command completion
  oslib/linux-blkzoned: Allow reset zone before file set up
  zbd: Initialize open zones list referring zone status at fio start
  t/zbd: Improve usage message of test-zbd-support script
  t/zbd: Add -o option to t/zbd/test-zoned-support
  t/zbd: Reset all zones before test when max open zones is specified
  t/zbd: Remove unnecessary option for zbc_reset_zone

 io_u.c                 |   4 +-
 io_u.h                 |   5 +-
 ioengines.c            |   4 +-
 oslib/linux-blkzoned.c |  18 +++++-
 t/zbd/functions        |   2 +-
 t/zbd/test-zbd-support | 122 +++++++++++++++++++++++++++++++++------
 zbd.c                  | 127 +++++++++++++++++++++++++++++++++--------
 zbd.h                  |   9 +--
 8 files changed, 236 insertions(+), 55 deletions(-)

-- 
2.26.2



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

end of thread, other threads:[~2020-09-01 14:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-01  8:19 [PATCH v3 0/7] Improve open zones accounting Shin'ichiro Kawasaki
2020-09-01  8:20 ` [PATCH v3 1/7] zbd: Decrement open zones count at write command completion Shin'ichiro Kawasaki
2020-09-01  8:20 ` [PATCH v3 2/7] oslib/linux-blkzoned: Allow reset zone before file set up Shin'ichiro Kawasaki
2020-09-01  8:20 ` [PATCH v3 3/7] zbd: Initialize open zones list referring zone status at fio start Shin'ichiro Kawasaki
2020-09-01  8:20 ` [PATCH v3 4/7] t/zbd: Improve usage message of test-zbd-support script Shin'ichiro Kawasaki
2020-09-01  8:20 ` [PATCH v3 5/7] t/zbd: Add -o option to t/zbd/test-zoned-support Shin'ichiro Kawasaki
2020-09-01  8:20 ` [PATCH v3 6/7] t/zbd: Reset all zones before test when max open zones is specified Shin'ichiro Kawasaki
2020-09-01  8:20 ` [PATCH v3 7/7] t/zbd: Remove unnecessary option for zbc_reset_zone Shin'ichiro Kawasaki
2020-09-01 14:38 ` [PATCH v3 0/7] Improve open zones accounting Jens Axboe

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.