projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
effe99e
)
Improve informativeness about directIO support or rather lackthereof on Solaris when...
author
Sam Zaydel
<szaydel@gmail.com>
Wed, 16 Nov 2016 18:16:55 +0000
(10:16 -0800)
committer
Sam Zaydel
<szaydel@gmail.com>
Wed, 16 Nov 2016 18:16:55 +0000
(10:16 -0800)
ioengines.c
patch
|
blob
|
blame
|
history
diff --git
a/ioengines.c
b/ioengines.c
index ae55f951d413fbaeaf92dae3c8eb0746167d4c9d..4c53fe554d65184f8f768466f225b2f24e76702f 100644
(file)
--- a/
ioengines.c
+++ b/
ioengines.c
@@
-483,7
+483,12
@@
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");
+ if (ret == ENOTTY) { /* ENOTTY suggests RAW device or ZFS */
+ log_err("fio: doing directIO to RAW devices or ZFS not supported\n");
+ } else {
+ log_err("fio: the file system does not seem to support direct IO\n");
+ }
+
goto err;
}
}