Use ENOTSUP if OS doesn't support blkdev page cache invalidation
[fio.git] / os / os-hpux.h
index 82acd1105fc51aa22f3976643a18999b245ebb3e..1707ddd8cedcf924abc1de0a26b3345be82b4495 100644 (file)
@@ -44,7 +44,7 @@ typedef struct aiocb64 os_aiocb_t;
 
 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)