From: Jens Axboe Date: Fri, 14 Oct 2005 08:39:05 +0000 (+0200) Subject: [PATCH] fio: rate granularity from 250msec to 100msec X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=fad86e6ab31c7607825e7c3ba9a28db7e69245ff;p=disktools.git [PATCH] fio: rate granularity from 250msec to 100msec --- diff --git a/fio.c b/fio.c index e4cd6ed..41def26 100644 --- a/fio.c +++ b/fio.c @@ -321,7 +321,7 @@ void rate_throttle(struct thread_data *td, unsigned long time_spent) unsigned long s = td->rate_usec_cycle - time_spent; td->rate_pending_usleep += s; - if (td->rate_pending_usleep >= 250000) { + if (td->rate_pending_usleep >= 100000) { usec_sleep(td->rate_pending_usleep); td->rate_pending_usleep = 0; }