Remove !td->o.read_io_log test that is always true
authorJens Axboe <jens.axboe@oracle.com>
Tue, 27 Mar 2007 06:46:33 +0000 (08:46 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 27 Mar 2007 06:46:33 +0000 (08:46 +0200)
We test it further up.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
io_u.c

diff --git a/io_u.c b/io_u.c
index 0580f42650e428b02f48752079d346afb8bfdb6c..1077c27b1f07a43014ea527de0f985037a0a2083 100644 (file)
--- a/io_u.c
+++ b/io_u.c
@@ -329,7 +329,7 @@ static int fill_io_u(struct thread_data *td, struct io_u *io_u)
        /*
         * mark entry before potentially trimming io_u
         */
-       if (!td->o.read_iolog && td_random(td) && !td->o.norandommap)
+       if (td_random(td) && !td->o.norandommap)
                mark_random_map(td, io_u);
 
        /*