From: Christoph Hellwig Date: Tue, 6 May 2025 12:17:22 +0000 (+0530) Subject: fs: add a write stream field to the kiocb X-Git-Tag: v6.16-rc1~216^2~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=732f25a2895a8c1c54fb56544f0b1e23770ef4d7;p=thirdparty%2Fkernel%2Flinux.git fs: add a write stream field to the kiocb Prepare for io_uring passthrough of write streams. The write stream field in the kiocb structure fits into an existing 2-byte hole, so its size is not changed. Reviewed-by: Hannes Reinecke Reviewed-by: Nitesh Shetty Signed-off-by: Christoph Hellwig Signed-off-by: Keith Busch Signed-off-by: Kanchan Joshi Link: https://lore.kernel.org/r/20250506121732.8211-2-joshi.k@samsung.com Signed-off-by: Jens Axboe --- diff --git a/include/linux/fs.h b/include/linux/fs.h index 016b0fe1536e3..d5988867fe316 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -408,6 +408,7 @@ struct kiocb { void *private; int ki_flags; u16 ki_ioprio; /* See linux/ioprio.h */ + u8 ki_write_stream; union { /* * Only used for async buffered reads, where it denotes the