projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
zbd: remove zbd_zoned_model ZBD_IGNORE
[fio.git]
/
zbd.c
diff --git
a/zbd.c
b/zbd.c
index d1db9adc296a74a1bcd53203b7370eb767246406..aab4d741365b952743422a9c1b16fad6716f6aab 100644
(file)
--- a/
zbd.c
+++ b/
zbd.c
@@
-661,8
+661,6
@@
static int zbd_create_zone_info(struct thread_data *td, struct fio_file *f)
return ret;
switch (zbd_model) {
- case ZBD_IGNORE:
- return 0;
case ZBD_HOST_AWARE:
case ZBD_HOST_MANAGED:
ret = parse_zone_info(td, f);
@@
-680,6
+678,7
@@
static int zbd_create_zone_info(struct thread_data *td, struct fio_file *f)
return -EINVAL;
}
+ assert(f->zbd_info);
f->zbd_info->model = zbd_model;
ret = zbd_set_max_open_zones(td, f);