summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2020-02-24 11:30:16 +0300
committerJens Axboe <axboe@kernel.dk>2020-03-02 14:04:24 -0700
commit5ea62161167eb8297249d3f4dc63741016f01413 (patch)
treee5186a98a5ae86de4b79d59e13f366e3e0f48462 /tools/perf/scripts/python/export-to-postgresql.py
parente441d1cf20e1b9fc443e6130488d41e1941aae82 (diff)
io_uring: don't call work.func from sync ctx
Many operations define custom work.func before getting into an io-wq. There are several points against: - it calls io_wq_assign_next() from outside io-wq, that may be confusing - sync context would go unnecessary through io_req_cancelled() - prototypes are quite different, so work!=old_work looks strange - makes async/sync responsibilities fuzzy - adds extra overhead Don't call generic path and io-wq handlers from each other, but use helpers instead 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-postgresql.py')
0 files changed, 0 insertions, 0 deletions