projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
t/zbd: Combine write and read fio commands for test case #16
[fio.git]
/
zbd.c
diff --git
a/zbd.c
b/zbd.c
index 8cf8f81213ebfcd8083a2f3602932deec9c276cc..cf2cded93cff4371263106d3e7c0c9c02a6640c0 100644
(file)
--- a/
zbd.c
+++ b/
zbd.c
@@
-381,7
+381,7
@@
static int init_zone_info(struct thread_data *td, struct fio_file *f)
mutex_init_pshared_with_type(&p->mutex,
PTHREAD_MUTEX_RECURSIVE);
p->start = i * zone_size;
- p->wp = p->start
+ zone_size
;
+ p->wp = p->start;
p->type = ZBD_ZONE_TYPE_SWR;
p->cond = ZBD_ZONE_COND_EMPTY;
}