projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
bca4ed4
)
[PATCH] Total io is the sum of READ and WRITE
author
Jens Axboe
<jens.axboe@oracle.com>
Mon, 12 Feb 2007 17:49:58 +0000
(18:49 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Mon, 12 Feb 2007 17:49:58 +0000
(18:49 +0100)
Was broken for mixed read/write workloads.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fio.c
patch
|
blob
|
blame
|
history
diff --git
a/fio.c
b/fio.c
index 2aeb6f72a5b196e3052876b27c24fd266db90cfe..ace8c5ee09aae9e4353d9879273eaadbe1c2848d 100644
(file)
--- a/
fio.c
+++ b/
fio.c
@@
-382,7
+382,7
@@
static void do_io(struct thread_data *td)
td_set_runstate(td, TD_RUNNING);
- while (
td->this_io_bytes[td->ddir]
< td->io_size) {
+ while (
(td->this_io_bytes[0] + td->this_io_bytes[1])
< td->io_size) {
struct timespec *timeout;
int min_evts = 0;
struct io_u *io_u;