Use ENOTSUP if OS doesn't support blkdev page cache invalidation
[fio.git] / os / os-aix.h
index 3d677650934e8a762d6651f32cfa5ee096b47b69..bdc190a97734b495852cce7192a9ed2d050054a9 100644 (file)
@@ -23,7 +23,7 @@
 
 static inline int blockdev_invalidate_cache(struct fio_file *f)
 {
-       return EINVAL;
+       return ENOTSUP;
 }
 
 static inline int blockdev_size(struct fio_file *f, unsigned long long *bytes)