projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drop logging when blkdev invalidation failed on unsupported platforms
[fio.git]
/
filesetup.c
diff --git
a/filesetup.c
b/filesetup.c
index 38ad9edc6e206fd919309087bf4590dd76231ea1..3b2ebd9c1ec70a3b3361bf15dabe7d56b19c979c 100644
(file)
--- a/
filesetup.c
+++ b/
filesetup.c
@@
-528,8
+528,6
@@
static int __file_invalidate_cache(struct thread_data *td, struct fio_file *f,
}
if (ret < 0)
errval = errno;
- else if (ret) /* probably not supported */
- errval = ret;
} else if (f->filetype == FIO_TYPE_CHAR ||
f->filetype == FIO_TYPE_PIPE) {
dprint(FD_IO, "invalidate not supported %s\n", f->file_name);