Increment open file count manually
[fio.git] / engines / net.c
index 110e158f114cbe210656476ff81af305d7d80248..fcf4b8984cd612d1a25d849f2e295ba3935222cf 100644 (file)
@@ -1196,6 +1196,7 @@ static int fio_netio_setup(struct thread_data *td)
        if (!td->files_index) {
                add_file(td, td->o.filename ?: "net", 0, 0);
                td->o.nr_files = td->o.nr_files ?: 1;
+               td->o.open_files++;
        }
 
        if (!td->io_ops->data) {