summaryrefslogtreecommitdiffstats
path: root/io_uring/io_uring.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2023-03-30 18:03:41 +0200
committerJens Axboe <axboe@kernel.dk>2023-04-03 15:16:15 +0200
commit2ad57931db641f3de627023afb8147a8ec0b41dc (patch)
tree2c97fc99fa0cd8aef802456d7403ceb19aa442cd /io_uring/io_uring.c
parentio_uring: encapsulate task_work state (diff)
downloadlinux-2ad57931db641f3de627023afb8147a8ec0b41dc.tar.xz
linux-2ad57931db641f3de627023afb8147a8ec0b41dc.zip
io_uring: rename trace_io_uring_submit_sqe() tracepoint
It has nothing to do with the SQE at this point, it's a request submission. While in there, get rid of the 'force_nonblock' argument which is also dead, as we only pass in true. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/io_uring.c')
-rw-r--r--io_uring/io_uring.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/io_uring/io_uring.c b/io_uring/io_uring.c
index 536940675c67..775b53730c2f 100644
--- a/io_uring/io_uring.c
+++ b/io_uring/io_uring.c
@@ -2305,8 +2305,7 @@ static inline int io_submit_sqe(struct io_ring_ctx *ctx, struct io_kiocb *req,
if (unlikely(ret))
return io_submit_fail_init(sqe, req, ret);
- /* don't need @sqe from now on */
- trace_io_uring_submit_sqe(req, true);
+ trace_io_uring_submit_req(req);
/*
* If we already have a head request, queue this one for async