diff options
| author | 2021-10-01 18:07:00 +0100 | |
|---|---|---|
| committer | 2021-10-19 05:49:54 -0600 | |
| commit | 22b2ca310afcea319c72e051df0371f668192b10 (patch) | |
| tree | e313a972a13c44af5b026551265bc8b72f26d36e /tools/perf/scripts/python/flamegraph.py | |
| parent | io_uring: disable draining earlier (diff) | |
| download | linux-dev-22b2ca310afcea319c72e051df0371f668192b10.tar.xz linux-dev-22b2ca310afcea319c72e051df0371f668192b10.zip | |
io_uring: extra a helper for drain init
Add a helper io_init_req_drain for initialising requests with
IOSQE_DRAIN set. Also move bits from preambule of io_drain_req() in
there, because we already modify all the bits needed inside the helper.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/dcb412825b35b1cb8891245a387d7d69f8d14cef.1633107393.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
