aboutsummaryrefslogtreecommitdiff
path: root/io_uring/notif.h
diff options
context:
space:
mode:
authorGravatar Pavel Begunkov <asml.silence@gmail.com> 2022-11-04 10:59:45 +0000
committerGravatar Jens Axboe <axboe@kernel.dk> 2022-11-21 07:38:31 -0700
commit40725d1b960f19a11a1ebd1ab537844ebf39347c (patch)
tree764d4e8ba38c563b9a2d7f7dde7df42b26792079 /io_uring/notif.h
parentio_uring/net: inline io_notif_flush() (diff)
downloadlinux-40725d1b960f19a11a1ebd1ab537844ebf39347c.tar.gz
linux-40725d1b960f19a11a1ebd1ab537844ebf39347c.tar.bz2
linux-40725d1b960f19a11a1ebd1ab537844ebf39347c.zip
io_uring: move zc reporting from the hot path
Add custom tw and notif callbacks on top of usual bits also handling zc reporting. That moves it from the hot path. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/40de4a6409042478e1f35adc4912e23226cb1b5c.1667557923.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/notif.h')
-rw-r--r--io_uring/notif.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/io_uring/notif.h b/io_uring/notif.h
index 7f00176020d3..c88c800cd89d 100644
--- a/io_uring/notif.h
+++ b/io_uring/notif.h
@@ -19,6 +19,7 @@ struct io_notif_data {
};
struct io_kiocb *io_alloc_notif(struct io_ring_ctx *ctx);
+void io_notif_set_extended(struct io_kiocb *notif);
static inline struct io_notif_data *io_notif_to_data(struct io_kiocb *notif)
{