Remove dead FIO_FILE_NOSORT flag
authorJens Axboe <jens.axboe@oracle.com>
Thu, 21 Feb 2008 08:51:32 +0000 (09:51 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 21 Feb 2008 08:51:32 +0000 (09:51 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fio.h
log.c

diff --git a/fio.h b/fio.h
index 7551ef608cee23020108a5dedf508f65a440bf76..86020d96ae17bc6e1271a2ab6225d4e4f9c007d1 100644 (file)
--- 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 5b21ee224d2b7a24131563581e5ff4e019f7c118..e7320ef82086c1d039a9ef1169d8cc744f5fc6ed 100644 (file)
--- 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;