projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] Add support for giving multiple job files
[fio.git]
/
fio.c
diff --git
a/fio.c
b/fio.c
index 65d94980cd2feca2c2050f390961c6a731a72dc1..3cc09891ddcda2ff08ad68050faa89e52e9e7419 100644
(file)
--- a/
fio.c
+++ b/
fio.c
@@
-1552,7
+1552,7
@@
static int thread_eta(struct thread_data *td, unsigned long elapsed)
else if (t_eta)
eta_sec = t_eta;
else
else if (t_eta)
eta_sec = t_eta;
else
- eta_sec =
INT_MAX
;
+ eta_sec =
0
;
} else {
/*
* thread is already done or waiting for fsync
} else {
/*
* thread is already done or waiting for fsync
@@
-1803,7
+1803,6
@@
static void run_threads(void)
* Wait for the started threads to transition to
* TD_INITIALIZED.
*/
* Wait for the started threads to transition to
* TD_INITIALIZED.
*/
- printf("fio: Waiting for threads to initialize...\n");
gettimeofday(&this_start, NULL);
left = this_jobs;
while (left) {
gettimeofday(&this_start, NULL);
left = this_jobs;
while (left) {
@@
-1842,7
+1841,6
@@
static void run_threads(void)
/*
* start created threads (TD_INITIALIZED -> TD_RUNNING).
*/
/*
* start created threads (TD_INITIALIZED -> TD_RUNNING).
*/
- printf("fio: Go for launch\n");
for (i = 0; i < thread_number; i++) {
td = &threads[i];
for (i = 0; i < thread_number; i++) {
td = &threads[i];