Message ID | 20250319001521.53249-2-jdamato@fastly.com (mailing list archive) |
---|---|
State | RFC |
Headers | show |
Series | Add ZC notifications to splice and sendfile | expand |
diff --git a/include/linux/splice.h b/include/linux/splice.h index 9dec4861d09f..7477df3916e2 100644 --- a/include/linux/splice.h +++ b/include/linux/splice.h @@ -10,6 +10,7 @@ #define SPLICE_H #include <linux/pipe_fs_i.h> +#include <linux/skbuff.h> /* * Flags passed in from splice/tee/vmsplice @@ -43,6 +44,7 @@ struct splice_desc { loff_t *opos; /* sendfile: output position */ size_t num_spliced; /* number of bytes already spliced */ bool need_wakeup; /* need to wake up writer */ + struct ubuf_info *ubuf_info; /* zerocopy infrastructure */ }; struct partial_page {
Update struct splice_desc to include ubuf_info to prepare splice for zero copy notifications. Signed-off-by: Joe Damato <jdamato@fastly.com> --- include/linux/splice.h | 2 ++ 1 file changed, 2 insertions(+)