commit | a6b21fbb4ce3c4976ba478a9f0f10d4163038478 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Tue Jun 21 10:09:01 2022 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Jul 24 18:39:15 2022 -0600 |
tree | eb625a61f42d1aa1adbc7bcda1f885998ceb1f87 | |
parent | 625d38b3fd34c58afb969810c4b3105eabb3b143 [diff] [blame] |
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>
diff --git a/io_uring/io-wq.c b/io_uring/io-wq.c index 824623b..3e34dfb 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)