[PATCH] Verify eta time fix
authorJens Axboe <jens.axboe@oracle.com>
Wed, 18 Oct 2006 13:14:35 +0000 (15:14 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 18 Oct 2006 13:14:35 +0000 (15:14 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fio.c

diff --git a/fio.c b/fio.c
index 405346b6f310788728b4223d96ba9b5d7d9aa046..968c96c7f4437acaaaafc77f3eef0ae8e543d0bd 100644 (file)
--- a/fio.c
+++ b/fio.c
@@ -1351,16 +1351,6 @@ static int thread_eta(struct thread_data *td, unsigned long elapsed)
 
        bytes_total = td->total_io_size;
 
-       /*
-        * if writing, bytes_total will be twice the size. If mixing,
-        * assume a 50/50 split and thus bytes_total will be 50% larger.
-        */
-       if (td->verify) {
-               if (td_rw(td))
-                       bytes_total = bytes_total * 3 / 2;
-               else
-                       bytes_total <<= 1;
-       }
        if (td->zone_size && td->zone_skip)
                bytes_total /= (td->zone_skip / td->zone_size);