projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use ENOTSUP if OS doesn't support blkdev page cache invalidation
[fio.git]
/
os
/
os-mac.h
diff --git
a/os/os-mac.h
b/os/os-mac.h
index 0903a6fec5c4cd508ff5fefeca69a7e0b9652063..7de36ea79aa7b43a7f962796526cf000a2458527 100644
(file)
--- a/
os/os-mac.h
+++ b/
os/os-mac.h
@@
-77,7
+77,7
@@
static inline int chardev_size(struct fio_file *f, unsigned long long *bytes)
static inline int blockdev_invalidate_cache(struct fio_file *f)
{
- return E
INVAL
;
+ return E
NOTSUP
;
}
static inline unsigned long long os_phys_mem(void)