diff options
author | David Wei <dw@davidwei.uk> | 2024-11-21 01:14:51 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-11-21 17:11:00 +0300 |
commit | 40cfe553240b32333b42652370ef5232e6ac59e1 (patch) | |
tree | eb58b90a6b792d28bee414d76e410f619d742b55 /tools/perf/scripts/python/task-analyzer.py | |
parent | 2ae6bdb1e145af0a47253953132decbd2d52f4b2 (diff) | |
download | linux-40cfe553240b32333b42652370ef5232e6ac59e1.tar.xz |
io_uring: add io_local_work_pending()
In preparation for adding a new llist of tw to retry due to hitting the
tw limit, add a helper io_local_work_pending(). This function returns
true if there is any local tw pending. For now it only checks
ctx->work_llist.
Signed-off-by: David Wei <dw@davidwei.uk>
Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/20241120221452.3762588-2-dw@davidwei.uk
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions