summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-10-23 12:13:56 +0100
committerJens Axboe <axboe@kernel.dk>2021-10-25 07:42:20 -0600
commit255657d237042fd51673aef6f22463f662f9933f (patch)
treec78c583d3765c95b1d9d3b9bbb32c9b89ffa3c23 /tools/perf/scripts/python/export-to-sqlite.py
parentc907e52c72dee710f3bf7c751822df8371924a84 (diff)
io_uring: clean io_wq_submit_work()'s main loop
Do a bit of cleaning for the main loop of io_wq_submit_work(). Get rid of switch, just replace it with a single if as we're retrying in both other cases. Kill issue_sqe label, Get rid of needs_poll nesting and disambiguate a bit the comment. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/ed12ce0c64e051f9a6b8a37a24f8ea554d299c29.1634987320.git.asml.silence@gmail.com Reviewed-by: Hao Xu <haoxu@linux.alibaba.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