commit | 660a1cb5fb9843ec09a04337714e78d63cd557e7 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Tue Apr 17 15:37:47 2007 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Tue Apr 17 15:37:47 2007 +0200 |
tree | a0e803a9f6132129ef786f3bda6a81a93f3889ac | |
parent | ef5fffa591e583de26c6ce14f9448104d6dfbe79 [diff] [blame] |
Reduntant write bit checks No point in checking for td_rw(td) || td_write(), since td_write() will also be true for td_rw(). Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/fio.c b/fio.c index c769445..c39868d 100644 --- a/fio.c +++ b/fio.c
@@ -641,7 +641,7 @@ INIT_LIST_HEAD(&io_u->list); io_u->buf = p + max_bs * i; - if (td_write(td) || td_rw(td)) + if (td_write(td)) fill_rand_buf(io_u, max_bs); io_u->index = i;