projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
t/zbd: Support testing zone capacity smaller than zone size with null_blk
[fio.git]
/
filesetup.c
diff --git
a/filesetup.c
b/filesetup.c
index 8a4091fcc25420325f6bb1779dfffa0853f8ee2e..49c54b810e0371660aaa794840703ede6e9e5489 100644
(file)
--- a/
filesetup.c
+++ b/
filesetup.c
@@
-1268,7
+1268,7
@@
done:
td_restore_runstate(td, old_state);
if (td->o.zone_mode == ZONE_MODE_ZBD) {
td_restore_runstate(td, old_state);
if (td->o.zone_mode == ZONE_MODE_ZBD) {
- err = zbd_
init
(td);
+ err = zbd_
setup_files
(td);
if (err)
goto err_out;
}
if (err)
goto err_out;
}
@@
-1469,7
+1469,7
@@
void close_and_free_files(struct thread_data *td)
td_io_unlink_file(td, f);
}
td_io_unlink_file(td, f);
}
- zbd_
free_zone_info
(f);
+ zbd_
close_file
(f);
if (use_free)
free(f->file_name);
if (use_free)
free(f->file_name);