From: Jens Axboe Date: Fri, 23 Mar 2012 12:19:31 +0000 (+0100) Subject: client: use eta msec as the poll interval X-Git-Tag: gfio-0.1~50 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=80102c86786d7d50ba72366cee03061735b3cbac client: use eta msec as the poll interval Signed-off-by: Jens Axboe --- diff --git a/client.c b/client.c index 40372699..ed8f51e0 100644 --- a/client.c +++ b/client.c @@ -1291,7 +1291,7 @@ int fio_handle_clients(struct client_ops *ops) break; } - ret = poll(pfds, nr_clients, 100); + ret = poll(pfds, nr_clients, ops->eta_msec); if (ret < 0) { if (errno == EINTR) continue;