summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-11-21 19:01:20 +0300
committerJens Axboe <axboe@kernel.dk>2019-11-26 05:56:10 +0300
commit915967f69c591b34c5a18d6618af021a81ffd700 (patch)
treebe3beb8f6426e943d8791149666031a60b1032c5 /fs
parent1b4a51b6d03d21f55effbcf609ba5526d87d9e9d (diff)
downloadlinux-915967f69c591b34c5a18d6618af021a81ffd700.tar.xz
io_uring: improve trace_io_uring_defer() trace point
We don't have shadow requests anymore, so get rid of the shadow argument. Add the user_data argument, as that's often useful to easily match up requests, instead of having to look at request pointers. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs')
-rw-r--r--fs/io_uring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/io_uring.c b/fs/io_uring.c
index ca980c5878e9..736f27808f99 100644
--- a/fs/io_uring.c
+++ b/fs/io_uring.c
@@ -2588,7 +2588,7 @@ static int io_req_defer(struct io_kiocb *req)
req->flags |= REQ_F_FREE_SQE;
req->submit.sqe = sqe_copy;
- trace_io_uring_defer(ctx, req, false);
+ trace_io_uring_defer(ctx, req, req->user_data);
list_add_tail(&req->list, &ctx->defer_list);
spin_unlock_irq(&ctx->completion_lock);
return -EIOCBQUEUED;