X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=log.c;h=45be5fb6fdb94f718d3603bd769226f50abf7802;hp=6c7c4d6b2680546663eeac7d179b2e11917b7997;hb=160b966d83adace2629de10f85ed269ab2e587f5;hpb=8de8f047bd025f12d23cfc3fc1793434c6d8ff94 diff --git a/log.c b/log.c index 6c7c4d6b..45be5fb6 100644 --- a/log.c +++ b/log.c @@ -60,7 +60,8 @@ 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) { + if (!td_random(td) || !td->o.overwrite || + (io_u->file->flags & FIO_FILE_NOSORT)) { INIT_LIST_HEAD(&ipo->list); list_add_tail(&ipo->list, &td->io_hist_list); return;