From: Anuj Gupta Date: Thu, 28 Nov 2024 11:22:35 +0000 (+0530) Subject: fs: introduce IOCB_HAS_METADATA for metadata X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=4de2ce04c862db66a7c1dbe0f358fc6df3825bac;p=users%2Fjedix%2Flinux-maple.git fs: introduce IOCB_HAS_METADATA for metadata Introduce an IOCB_HAS_METADATA flag for the kiocb struct, for handling requests containing meta payload. Signed-off-by: Anuj Gupta Reviewed-by: Christoph Hellwig Link: https://lore.kernel.org/r/20241128112240.8867-6-anuj20.g@samsung.com Signed-off-by: Jens Axboe --- diff --git a/include/linux/fs.h b/include/linux/fs.h index 7e29433c5ecce..2cc3d45da7b01 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -348,6 +348,7 @@ struct readahead_control; #define IOCB_DIO_CALLER_COMP (1 << 22) /* kiocb is a read or write operation submitted by fs/aio.c. */ #define IOCB_AIO_RW (1 << 23) +#define IOCB_HAS_METADATA (1 << 24) /* for use in trace events */ #define TRACE_IOCB_STRINGS \