From: Jens Axboe Date: Wed, 19 Nov 2014 16:34:01 +0000 (-0700) Subject: server: fix missing ETA in some cases X-Git-Tag: fio-2.2.0~51 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=256bc54c13ba8b37eb0e08fdbbd1bbbcfe8a86cc server: fix missing ETA in some cases If we get an ETA request from the client, we pass in 'force' to ignore any time constraints. But we fail to pass the force through, so we can fail sending the requested ETA and the client just looks like nothing is running even though it is. Signed-off-by: Jens Axboe --- diff --git a/eta.c b/eta.c index 5be5aed3..a90f1fb4 100644 --- a/eta.c +++ b/eta.c @@ -574,7 +574,7 @@ struct jobs_eta *get_jobs_eta(int force, size_t *size) je = malloc(*size); memset(je, 0, *size); - if (!calc_thread_status(je, 0)) { + if (!calc_thread_status(je, force)) { free(je); return NULL; }