fix re-open failure issue when using gluster ioengine
[fio.git] / engines / glusterfs.c
index 52006b04075ab26f46bae54973d34e29dd92d096..52df9e8a0608f2d73b89a70c962a52cfe79abd63 100644 (file)
@@ -260,7 +260,7 @@ int fio_gf_open_file(struct thread_data *td, struct fio_file *f)
        dprint(FD_FILE, "fio %p created %s\n", g->fs, f->file_name);
        f->fd = -1;
        f->shadow_fd = -1;
        dprint(FD_FILE, "fio %p created %s\n", g->fs, f->file_name);
        f->fd = -1;
        f->shadow_fd = -1;
-
+       td->o.open_files ++;
        return ret;
 }
 
        return ret;
 }