diff options
| author | Christian Brauner <brauner@kernel.org> | 2025-01-04 09:37:42 +0100 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2025-01-04 10:12:18 +0100 |
| commit | d2fc0ed52a284a13a16c914bc83b0b8733f55a4a (patch) | |
| tree | 5932fb3ae3fe128dfabceae4ef30e33b05a879a6 /include/uapi/linux | |
| parent | ec052fae814d467d6aa7e591b4b24531b87e65ec (diff) | |
| parent | af6505e5745b9f3a670de405b08b73573343c15c (diff) | |
Merge branch 'vfs-6.14.uncached_buffered_io'
Bring in the VFS changes for uncached buffered io.
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/fs.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/uapi/linux/fs.h b/include/uapi/linux/fs.h index 753971770733..56a4f93a08f4 100644 --- a/include/uapi/linux/fs.h +++ b/include/uapi/linux/fs.h @@ -332,9 +332,13 @@ typedef int __bitwise __kernel_rwf_t; /* Atomic Write */ #define RWF_ATOMIC ((__force __kernel_rwf_t)0x00000040) +/* buffered IO that drops the cache after reading or writing data */ +#define RWF_DONTCACHE ((__force __kernel_rwf_t)0x00000080) + /* mask of flags supported by the kernel */ #define RWF_SUPPORTED (RWF_HIPRI | RWF_DSYNC | RWF_SYNC | RWF_NOWAIT |\ - RWF_APPEND | RWF_NOAPPEND | RWF_ATOMIC) + RWF_APPEND | RWF_NOAPPEND | RWF_ATOMIC |\ + RWF_DONTCACHE) #define PROCFS_IOCTL_MAGIC 'f' |
