splice engine: support for vmsplice to user space
[fio.git] / os / os-linux.h
index dfb6eb987d97b9ff3844dc0c2e684ccc8bb749bf..836a52f390c65a9cd8efb9be7709c9a424dfd23c 100644 (file)
@@ -86,6 +86,10 @@ static inline int vmsplice(int fd, const struct iovec *iov,
 }
 #endif
 
+#ifdef SPLICE_F_UNMAP
+#define SPLICE_F_UNMAP (0x10)
+#endif
+
 #define SPLICE_DEF_SIZE        (64*1024)
 
 #ifdef FIO_HAVE_SYSLET