]> git.ipfire.org Git - people/ms/linux.git/commitdiff
io_uring/opdef: rename SENDZC_NOTIF to SEND_ZC
authorStefan Metzmacher <metze@samba.org>
Fri, 16 Sep 2022 21:36:25 +0000 (23:36 +0200)
committerJens Axboe <axboe@kernel.dk>
Sun, 18 Sep 2022 12:59:13 +0000 (06:59 -0600)
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
Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/8e5cd8616919c92b6c3c7b6ea419fdffd5b97f3c.1663363798.git.metze@samba.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/opdef.c

index c61494e0a6022e955ca90f50229a1ca8e3f06a67..c4dddd0fd70949c300e519c54c0f6f7d8f13c246 100644 (file)
@@ -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,