io_size vs. time_based discrepancy
[fio.git] / backend.c
index 1560749618a5a91ed6152849cba8f9124b73dc16..224736f4c963dcef68db671b39b83ec9ed763758 100644 (file)
--- a/backend.c
+++ b/backend.c
@@ -868,7 +868,7 @@ static uint64_t do_io(struct thread_data *td)
                if (flow_threshold_exceeded(td))
                        continue;
 
-               if (bytes_issued >= total_bytes)
+               if (!td->o.time_based && bytes_issued >= total_bytes)
                        break;
 
                io_u = get_io_u(td);