[PATCH v2 0/4] zbd: fix unexpected random write stop

Shin'ichiro Kawasaki <[email protected]>
Newsgroups org.kernel.vger.fio
Message-ID <[email protected]>
When a random write target offset points to a zone that is not writable,
zbd_convert_to_write_zone() attempts to convert the write offset to a
different, writable zone. However, the conversion fails under a specific
set of conditions. This series addresses the failure. The first two
patches prepare for the fix. The third patch fixes the failure. The
fourth patch adds a test case to confirm the fix.

Changes from v1:
* 1st, 2nd: Improved function comments per review comments on the list
* 1st-3rd: Added Reviewed-by tags

Shin'ichiro Kawasaki (4):
  zbd: move zone finish operation to zbd_convert_to_write_zone()
  zbd: factor out zbd_pick_write_zone()
  zbd: finish zone when all random write target zones have small
    remainder
  t/zbd: add test for the case all write zones have small remainder

 t/zbd/test-zbd-support |  48 +++++++++++
 zbd.c                  | 191 ++++++++++++++++++++++++-----------------
 2 files changed, 162 insertions(+), 77 deletions(-)

-- 
2.49.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.