projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fio 2.20
[fio.git]
/
os
/
os-windows.h
diff --git
a/os/os-windows.h
b/os/os-windows.h
index 616ad43567b0719a92f9f2ecee6143a15a0b0e46..0c8c42d39a24bc5e2afc2115bee0deb9dbdc91e9 100644
(file)
--- a/
os/os-windows.h
+++ b/
os/os-windows.h
@@
-152,9
+152,7
@@
static inline int chardev_size(struct fio_file *f, unsigned long long *bytes)
static inline int blockdev_invalidate_cache(struct fio_file *f)
{
- /* There's no way to invalidate the cache in Windows
- * so just pretend to succeed */
- return 0;
+ return ENOTSUP;
}
static inline unsigned long long os_phys_mem(void)