Don't align memory unless using raw io
[fio.git] / os / os-linux.h
index f4b6a22361bfa1b5d6f04ece4d6f53c882755f50..11f767c5b2e8105c6ab9fec7f10baf17f9a566d2 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