diff options
| author | Christian Brauner <brauner@kernel.org> | 2025-08-20 12:13:06 +0300 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2025-08-20 12:13:06 +0300 |
| commit | b1b5b825892bc309810fe57af708503a90a49fa6 (patch) | |
| tree | 16051bba1c512df574b0f52b9c8a538b1d365faa /include/linux | |
| parent | b19a97d57c15643494ac8bfaaa35e3ee472d41da (diff) | |
| parent | 2729a60bbfb9215997f25372ebe9b7964f038296 (diff) | |
| download | linux-b1b5b825892bc309810fe57af708503a90a49fa6.tar.xz | |
Merge patch series "io_uring / dio metadata fixes"
Christoph Hellwig <hch@lst.de> says:
Hi all,
while trying to add XFS support for passing through metadata I ran
into a few issues with how that support is wire up for the current
block device use cases, and this fixes it.
* patches from https://lore.kernel.org/20250819082517.2038819-1-hch@lst.de:
block: don't silently ignore metadata for sync read/write
fs: add a FMODE_ flag to indicate IOCB_HAS_METADATA availability
Link: https://lore.kernel.org/20250819082517.2038819-1-hch@lst.de
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/fs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index d7ab4f96d705..601d036a6c78 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -149,7 +149,8 @@ typedef int (dio_iodone_t)(struct kiocb *iocb, loff_t offset, /* Expect random access pattern */ #define FMODE_RANDOM ((__force fmode_t)(1 << 12)) -/* FMODE_* bit 13 */ +/* Supports IOCB_HAS_METADATA */ +#define FMODE_HAS_METADATA ((__force fmode_t)(1 << 13)) /* File is opened with O_PATH; almost nothing can be done with it */ #define FMODE_PATH ((__force fmode_t)(1 << 14)) |
