X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=fio.c;h=9a3cc94897d3c49928ef27f2dade7504c955f81a;hb=b58cf3dc6945d661bd5c40c0856a99e0f9c8a9e6;hp=b095527e4d028d18ab30d185a7b25c4a93eba7ab;hpb=c084f46865e7bb0d186b4f31259b21f9d75cc07e;p=fio.git diff --git a/fio.c b/fio.c index b095527e..9a3cc948 100644 --- a/fio.c +++ b/fio.c @@ -100,6 +100,12 @@ static int check_min_rate(struct thread_data *td, struct timeval *now) unsigned long spent; unsigned long rate; + /* + * No minimum rate set, always ok + */ + if (!td->ratemin) + return 0; + /* * allow a 2 second settle period in the beginning */