projects
/
disktools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e81949
)
[PATCH] fio: redundant setting of run_str[]
author
Jens Axboe
<axboe@suse.de>
Tue, 8 Nov 2005 15:13:33 +0000
(16:13 +0100)
committer
Jens Axboe
<axboe@suse.de>
Tue, 8 Nov 2005 15:13:33 +0000
(16:13 +0100)
fio.c
patch
|
blob
|
blame
|
history
diff --git
a/fio.c
b/fio.c
index e8692f8a844d59a1a02ec3ee5302744be5cf6866..d972463d17eaa83d05b6f4611733feb6d3ccbde3 100644
(file)
--- a/
fio.c
+++ b/
fio.c
@@
-2462,11
+2462,8
@@
static void run_threads(char *argv[])
for (i = 0; i < thread_number; i++) {
struct thread_data *td = &threads[i];
- if (td->runstate == TD_RUNNING)
- run_str[td->thread_number - 1] = '+';
- else if (td->runstate == TD_VERIFYING)
- run_str[td->thread_number - 1] = 'V';
- else
+ if (td->runstate != TD_RUNNING &&
+ td->runstate != TD_VERIFYING)
continue;
check_str_update(td, nr_running, t_rate, m_rate);