diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-01-19 13:32:42 +0000 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-02-01 10:02:42 -0700 |
commit | eab30c4d20dc761d463445e5130421863ff81505 (patch) | |
tree | d22c11edb7f9a701d465de59f78f0039cb68fff0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 02b23a9af5ba4db0a85ebb81c8b376b2fe860d0f (diff) |
io_uring: deduplicate failing task_work_add
When io_req_task_work_add() fails, the request will be cancelled by
enqueueing via task_works of io-wq. Extract a function for that.
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