summaryrefslogtreecommitdiffstats
path: root/include/linux/fadvise.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/fadvise.h')
-rw-r--r--include/linux/fadvise.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/fadvise.h b/include/linux/fadvise.h
index e8e747139b9..b2913bba35d 100644
--- a/include/linux/fadvise.h
+++ b/include/linux/fadvise.h
@@ -18,4 +18,10 @@
#define POSIX_FADV_NOREUSE 5 /* Data will be accessed once. */
#endif
+/*
+ * Linux-specific fadvise() extensions:
+ */
+#define LINUX_FADV_ASYNC_WRITE 32 /* Start writeout on range */
+#define LINUX_FADV_WRITE_WAIT 33 /* Wait upon writeout to range */
+
#endif /* FADVISE_H_INCLUDED */