Skip to content

Restore the check_swd() function in the ZBD code

Bart Van Assche fio 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6t/zbd/functions: Make fio_reset_count() return 0 if no resets occurredt/zbd/functions+4 -10 replies
2/6t/zbd/test-zbd-support: Ensure that an assertion failure causes this test to failt/zbd/test-zbd-support+1 -10 replies
3/6t/zbd/test-zbd-support: Set fio aux path and forbid file creationt/zbd/test-zbd-support+4 -30 replies
4/6t/zbd/test-zbd-support: Report a test summary when finishedt/zbd/test-zbd-support+8 -00 replies
5/6zbd: Restore zbd_check_swd()zbd.c+26 -00 replies
6/6zbd: Avoid duplicating the code for calculating the number of sectors with datazbd.c+43 -180 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] Restore the check_swd() function in the ZBD code

Hi Jens,

The fio changes included in this patch series are as follows:
- The check_swd() function has been restored in such a way that the compiler can verify the syntactical correctness of the code.
- A new function zbd_process_swd() has been introduced to avoid duplicated code.
- The robustness of the ZBD test scripts has been improved.

Please consider these patches for the upstream fio repository.

Thanks,

Bart.

Bart Van Assche (6):
t/zbd/functions: Make fio_reset_count() return 0 if no resets occurred t/zbd/test-zbd-support: Ensure that an assertion failure causes this
test to fail
t/zbd/test-zbd-support: Set fio aux path and forbid file creation t/zbd/test-zbd-support: Report a test summary when finished
zbd: Restore zbd_check_swd()
zbd: Avoid duplicating the code for calculating the number of sectors
with data

 t/zbd/functions        |  5 ++-
 t/zbd/test-zbd-support | 17 +++++++---
 zbd.c                  | 75 +++++++++++++++++++++++++++++++++++-------
 3 files changed, 80 insertions(+), 17 deletions(-)
Signature · 1 line
2.19.0.605.g01d371f741-goog