commit | ea2877a4ab0fb047a503ba0d7a0fd5393d0fb099 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Tue Oct 10 08:30:24 2006 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Tue Oct 10 08:30:24 2006 +0200 |
tree | 1c7e5d02ff27539328c36e4953d21333fe454a56 | |
parent | c1d5725eaad49dbf5b3a05c27b0b3677af69f64c [diff] [blame] |
[PATCH] Allow io engine to do the file setup Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/fio.c b/fio.c index 8278b60..ea57d78 100644 --- a/fio.c +++ b/fio.c
@@ -1210,8 +1210,8 @@ struct stat st; int flags = 0; - if (td->io_ops->flags & FIO_CPUIO) - return 0; + if (td->io_ops->setup) + return td->io_ops->setup(td); if (stat(td->file_name, &st) == -1) { if (errno != ENOENT) {