diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2022-06-21 11:09:01 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-07-25 02:39:15 +0200 |
commit | a6b21fbb4ce3c4976ba478a9f0f10d4163038478 (patch) | |
tree | eb625a61f42d1aa1adbc7bcda1f885998ceb1f87 /io_uring/io-wq.c | |
parent | io_uring: improve io_run_task_work() (diff) | |
download | linux-a6b21fbb4ce3c4976ba478a9f0f10d4163038478.tar.xz linux-a6b21fbb4ce3c4976ba478a9f0f10d4163038478.zip |
io_uring: move list helpers to a separate file
It's annoying to have io-wq.h as a dependency every time we want some of
struct io_wq_work_list helpers, move them into a separate file.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/c1d891ce12b30767d1d2a3b7db2ca3abc1ecc4a2.1655802465.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/io-wq.c')
-rw-r--r-- | io_uring/io-wq.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/io_uring/io-wq.c b/io_uring/io-wq.c index 824623bcf1a5..3e34dfbdf946 100644 --- a/io_uring/io-wq.c +++ b/io_uring/io-wq.c @@ -18,6 +18,7 @@ #include <uapi/linux/io_uring.h> #include "io-wq.h" +#include "slist.h" #define WORKER_IDLE_TIMEOUT (5 * HZ) |