diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2020-01-17 03:57:59 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-01-21 03:04:06 +0300 |
commit | 711be0312df4d350fb5bf1671c132cccae5aaf9a (patch) | |
tree | 88b1d8d532147eed4336a86e4916090b3a5ac6f3 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 66f4af93da5761d2fa05c0dc673a47003cdb9cfe (diff) | |
download | linux-711be0312df4d350fb5bf1671c132cccae5aaf9a.tar.xz |
io_uring: optimise use of ctx->drain_next
Move setting ctx->drain_next to the only place it could be set, when it
got linked non-head requests. The same for checking it, it's interesting
only for a head of a link or a non-linked request.
No functional changes here. This removes some code from the common path
and also removes REQ_F_DRAIN_LINK flag, as it doesn't need it anymore.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions