projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
043b74b
)
Fix missing initialization of merge/io counts
author
Jens Axboe
<jens.axboe@oracle.com>
Tue, 30 Sep 2008 06:39:17 +0000
(08:39 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Tue, 30 Sep 2008 06:39:17 +0000
(08:39 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diskutil.c
patch
|
blob
|
blame
|
history
diff --git
a/diskutil.c
b/diskutil.c
index 82b393ac92f4f2f4c2e4bc0b6c962ef1a8874589..a78ae74b61646eb9d4a49d295d0b411dcecc6ef9 100644
(file)
--- a/
diskutil.c
+++ b/
diskutil.c
@@
-430,11
+430,11
@@
static void aggregate_slaves_stats(struct disk_util *masterdu)
double util, max_util = 0;
int slavecount = 0;
- unsigned merges[2];
- unsigned ticks[2];
- unsigned time_in_queue;
- unsigned long long sectors[2];
- unsigned ios[2];
+ unsigned merges[2]
= { 0, }
;
+ unsigned ticks[2]
= { 0, }
;
+ unsigned time_in_queue
= { 0, }
;
+ unsigned long long sectors[2]
= { 0, }
;
+ unsigned ios[2]
= { 0, }
;
flist_for_each(entry, &masterdu->slaves) {
slavedu = flist_entry(entry, struct disk_util, slavelist);