Recent changes (master)
The following changes since commit a0b72421064b5dd7312812509e9babe923063deb:
Merge branch 'o_dsync' of https://github.com/anarazel/fio (2020-10-28 16:20:43 -0600)
are available in the Git repository at:
git://git.kernel.dk/fio.git master
for you to fetch changes up to 8c17a6248bd227a9f3cc3da52bd1cb922dc6cf81:
t/zbd: Fix test target size of test case #48 (2020-10-30 07:24:59 -0600)
----------------------------------------------------------------
Shin'ichiro Kawasaki (2):
zbd: Avoid excessive zone resets t/zbd: Fix test target size of test case #48
t/zbd/test-zbd-support | 2 +- zbd.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-)
---
Diff of recent changes:
t/zbd/test-zbd-support +1 -1
@@ -913,7 +913,7 @@ test48() { for ((i=0;i<jobs;i++)); do opts+=("--name=job$i" "--filename=$dev" "--offset=$off" "--bs=16K") opts+=("--io_size=$zone_size" "--iodepth=256" "--thread=1") - opts+=("--group_reporting=1") + opts+=("--size=$size" "--group_reporting=1") # max_open_zones is already specified opts+=($(job_var_opts_exclude "--max_open_zones")) done
zbd.c +3 -0
@@ -718,6 +718,9 @@ static int zbd_reset_zone(struct thread_data *td, struct fio_file *f,uint64_t length = (z+1 )->start - offset;int ret =0 ; +if (z->wp == z->start) +return 0 ; +assert (is_valid_offset (f, offset + length -1 )); dprint(FD_ZBD, "%s: resetting wp of zone %u.\n", f->file_name,