X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=fio.c;h=22f0124459352e2011a0fe99ced7fb65e514b5f7;hp=b095527e4d028d18ab30d185a7b25c4a93eba7ab;hb=34403fb14ba48d708fdfd2934583506bb5caac05;hpb=c01c03958c2e1d3c231da93f2de8bf7b9b19d143 diff --git a/fio.c b/fio.c index b095527e..22f01244 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 */ @@ -237,7 +243,7 @@ requeue: } /* - * The main verify engine. Runs over the writes we previusly submitted, + * The main verify engine. Runs over the writes we previously submitted, * reads the blocks back in, and checks the crc/md5 of the data. */ static void do_verify(struct thread_data *td)