projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'expand_fiohistparser' of https://github.com/shimrot/fio
[fio.git]
/
ioengines.c
diff --git
a/ioengines.c
b/ioengines.c
index 5dd2311af03db24c344ea35887a7f2f3a3f4885a..965581aa4157c8594fbc20735a8ac36f438d24b7 100644
(file)
--- a/
ioengines.c
+++ b/
ioengines.c
@@
-498,8
+498,8
@@
int td_io_open_file(struct thread_data *td, struct fio_file *f)
}
if (posix_fadvise(f->fd, f->file_offset, f->io_size, flags) < 0) {
- td_verror(td, errno, "fadvise");
-
goto err
;
+ if (!fio_did_warn(FIO_WARN_FADVISE))
+
log_err("fio: fadvise hint failed\n")
;
}
}
#ifdef FIO_HAVE_WRITE_HINT