aboutsummaryrefslogtreecommitdiff
path: root/include/uapi/linux/fiemap.h
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2015-01-22 12:13:14 -0500
committerMister Oyster <oysterized@gmail.com>2017-05-27 19:39:49 +0200
commit8351b33f481e6afc8e278ed97f068ed8a4873ea7 (patch)
treeee116282462851108524a90047267201ccb90017 /include/uapi/linux/fiemap.h
parent964b9b3862dccbfbba546e4e09cb33a8361ca252 (diff)
uapi: add new system call ABI codepoints for ext4 3.18 backport
note: this doesn't guarantee that functionality provided by FALLOC_FL_COLLAPSE_RANGE, FALLOC_FL_ZERO_RANGE, and FIEMAP_FLAG_CACHE to necessarily _work_; it only allows ext4 from 3.18 to *compile*. Fortunately, these are exotic bits of functionality that most people never use. Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'include/uapi/linux/fiemap.h')
-rw-r--r--include/uapi/linux/fiemap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/fiemap.h b/include/uapi/linux/fiemap.h
index d830747f5..0c51d617d 100644
--- a/include/uapi/linux/fiemap.h
+++ b/include/uapi/linux/fiemap.h
@@ -40,6 +40,7 @@ struct fiemap {
#define FIEMAP_FLAG_SYNC 0x00000001 /* sync file data before map */
#define FIEMAP_FLAG_XATTR 0x00000002 /* map extended attribute tree */
+#define FIEMAP_FLAG_CACHE 0x00000004 /* request caching of the extents */
#define FIEMAP_FLAGS_COMPAT (FIEMAP_FLAG_SYNC | FIEMAP_FLAG_XATTR)