Message ID | 8e5cd8616919c92b6c3c7b6ea419fdffd5b97f3c.1663363798.git.metze@samba.org (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | IORING_OP_SEND_ZC improvements | expand |
On 9/16/22 22:36, Stefan Metzmacher wrote: > It's confusing to see the string SENDZC_NOTIF in ftrace output > when using IORING_OP_SEND_ZC. > > Fixes: b48c312be05e8 ("io_uring/net: simplify zerocopy send user API") It doesn't really fix anything, but it's quite simple and we may want to take it for 6.0. Reviewed-by: Pavel Begunkov <asml.silence@gmail.com> > Signed-off-by: Stefan Metzmacher <metze@samba.org> > Cc: Pavel Begunkov <asml.silence@gmail.com> > Cc: Jens Axboe <axboe@kernel.dk> > Cc: io-uring@vger.kernel.org > --- > io_uring/opdef.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/io_uring/opdef.c b/io_uring/opdef.c > index c61494e0a602..c4dddd0fd709 100644 > --- a/io_uring/opdef.c > +++ b/io_uring/opdef.c > @@ -471,7 +471,7 @@ const struct io_op_def io_op_defs[] = { > .prep_async = io_uring_cmd_prep_async, > }, > [IORING_OP_SEND_ZC] = { > - .name = "SENDZC_NOTIF", > + .name = "SEND_ZC", > .needs_file = 1, > .unbound_nonreg_file = 1, > .pollout = 1,
diff --git a/io_uring/opdef.c b/io_uring/opdef.c index c61494e0a602..c4dddd0fd709 100644 --- a/io_uring/opdef.c +++ b/io_uring/opdef.c @@ -471,7 +471,7 @@ const struct io_op_def io_op_defs[] = { .prep_async = io_uring_cmd_prep_async, }, [IORING_OP_SEND_ZC] = { - .name = "SENDZC_NOTIF", + .name = "SEND_ZC", .needs_file = 1, .unbound_nonreg_file = 1, .pollout = 1,
It's confusing to see the string SENDZC_NOTIF in ftrace output when using IORING_OP_SEND_ZC. Fixes: b48c312be05e8 ("io_uring/net: simplify zerocopy send user API") Signed-off-by: Stefan Metzmacher <metze@samba.org> Cc: Pavel Begunkov <asml.silence@gmail.com> Cc: Jens Axboe <axboe@kernel.dk> Cc: io-uring@vger.kernel.org --- io_uring/opdef.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)