solaris: log error for failure to enable direct IO
authorJens Axboe <jaxboe@fusionio.com>
Tue, 23 Nov 2010 10:12:39 +0000 (11:12 +0100)
committerJens Axboe <jaxboe@fusionio.com>
Tue, 23 Nov 2010 10:12:39 +0000 (11:12 +0100)
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
ioengines.c

index e0b0f22e96d994b74f00153dd64509dd7b2a930d..35471ad14d953702fca7a3d91de1c82a107421b7 100644 (file)
@@ -402,6 +402,7 @@ int td_io_open_file(struct thread_data *td, struct fio_file *f)
 
                if (ret) {
                        td_verror(td, ret, "fio_set_odirect");
+                       log_err("fio: the file system does not seem to support direct IO\n");
                        goto err;
                }
        }