From 9b23c9fb768ef052c7fe7cd825a714976a089e08 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Thu, 21 Feb 2008 09:51:32 +0100 Subject: [PATCH] Remove dead FIO_FILE_NOSORT flag Signed-off-by: Jens Axboe --- fio.h | 5 ++--- log.c | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/fio.h b/fio.h index 7551ef60..86020d96 100644 --- a/fio.h +++ b/fio.h @@ -271,9 +271,8 @@ enum fio_file_flags { FIO_FILE_CLOSING = 1 << 1, /* file being closed */ FIO_FILE_EXISTS = 1 << 2, /* file there */ FIO_FILE_EXTEND = 1 << 3, /* needs extend */ - FIO_FILE_NOSORT = 1 << 4, /* don't sort verify blocks */ - FIO_FILE_DONE = 1 << 5, /* io completed to this file */ - FIO_SIZE_KNOWN = 1 << 6, /* size has been set */ + FIO_FILE_DONE = 1 << 4, /* io completed to this file */ + FIO_SIZE_KNOWN = 1 << 5, /* size has been set */ }; /* diff --git a/log.c b/log.c index 5b21ee22..e7320ef8 100644 --- a/log.c +++ b/log.c @@ -132,8 +132,7 @@ void log_io_piece(struct thread_data *td, struct io_u *io_u) * For both these cases, just reading back data in the order we * wrote it out is the fastest. */ - if (!td_random(td) || !td->o.overwrite || - (io_u->file->flags & FIO_FILE_NOSORT)) { + if (!td_random(td) || !td->o.overwrite) { INIT_LIST_HEAD(&ipo->list); list_add_tail(&ipo->list, &td->io_hist_list); return; -- 2.25.1