projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Spelling fixes
[fio.git]
/
fio.c
diff --git
a/fio.c
b/fio.c
index c5b85aeb8c88ca2ef732135fc74ffb8d789325c1..22f0124459352e2011a0fe99ced7fb65e514b5f7 100644
(file)
--- 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;
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
*/
/*
* 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 previ
o
usly submitted,
* reads the blocks back in, and checks the crc/md5 of the data.
*/
static void do_verify(struct thread_data *td)
* reads the blocks back in, and checks the crc/md5 of the data.
*/
static void do_verify(struct thread_data *td)
@@
-433,8
+439,6
@@
requeue:
*/
if (td->io_ops->commit == NULL)
io_u_queued(td, io_u);
*/
if (td->io_ops->commit == NULL)
io_u_queued(td, io_u);
- else if (td->io_u_queued >= td->iodepth_batch)
- ret = td_io_commit(td);
break;
case FIO_Q_BUSY:
requeue_io_u(td, &io_u);
break;
case FIO_Q_BUSY:
requeue_io_u(td, &io_u);