client: respect --eta=never for networked connections
authorJens Axboe <axboe@kernel.dk>
Thu, 14 Dec 2017 17:58:03 +0000 (10:58 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 14 Dec 2017 17:58:03 +0000 (10:58 -0700)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
client.c

index 2b136a0..82e1285 100644 (file)
--- a/client.c
+++ b/client.c
@@ -1834,6 +1834,9 @@ static void request_client_etas(struct client_ops *ops)
        struct client_eta *eta;
        int skipped = 0;
 
+       if (eta_print == FIO_ETA_NEVER)
+               return;
+
        dprint(FD_NET, "client: request eta (%d)\n", nr_clients);
 
        eta = calloc(1, sizeof(*eta) + __THREAD_RUNSTR_SZ(REAL_MAX_JOBS));