diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-11-21 09:01:20 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-11-25 19:56:10 -0700 |
commit | 915967f69c591b34c5a18d6618af021a81ffd700 (patch) | |
tree | be3beb8f6426e943d8791149666031a60b1032c5 /fs/io_uring.c | |
parent | 1b4a51b6d03d21f55effbcf609ba5526d87d9e9d (diff) | |
download | lwn-915967f69c591b34c5a18d6618af021a81ffd700.tar.gz lwn-915967f69c591b34c5a18d6618af021a81ffd700.zip |
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/io_uring.c')
-rw-r--r-- | fs/io_uring.c | 2 |
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; |