From 8fd15a9a8d64deae4c2f13b02e1df7e23ea3cafb Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 27 Mar 2007 08:46:33 +0200 Subject: [PATCH] Remove !td->o.read_io_log test that is always true We test it further up. Signed-off-by: Jens Axboe --- io_u.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io_u.c b/io_u.c index 0580f426..1077c27b 100644 --- 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); /* -- 2.25.1