Skip to content

Commit 4de2ce0

Browse files
Anuj Guptaaxboe
authored andcommitted
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 <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
1 parent 10783d0 commit 4de2ce0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/linux/fs.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,7 @@ struct readahead_control;
348348
#define IOCB_DIO_CALLER_COMP (1 << 22)
349349
/* kiocb is a read or write operation submitted by fs/aio.c. */
350350
#define IOCB_AIO_RW (1 << 23)
351+
#define IOCB_HAS_METADATA (1 << 24)
351352

352353
/* for use in trace events */
353354
#define TRACE_IOCB_STRINGS \

0 commit comments

Comments
 (0)