}
ipo = malloc(sizeof(*ipo));
+ memset(ipo, 0, sizeof(*ipo));
INIT_LIST_HEAD(&ipo->list);
ipo->offset = offset;
ipo->len = bytes;
{
FILE *f;
+ if (td->o.nr_files > 1) {
+ log_err("fio: write_iolog only works with 1 file currently\n");
+ return 1;
+ }
+
f = fopen(td->o.write_iolog_file, "w+");
if (!f) {
perror("fopen write iolog");