io_uring: add tw add flags
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 6 Apr 2023 13:20:10 +0000 (14:20 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 6 Apr 2023 22:23:28 +0000 (16:23 -0600)
commit8501fe70ae9855076ffb03a3670e02a7b3437304
tree003d6511ee5db3c95d3e96ed5679f933b8e1ffac
parent6e7248adf8f7adb5e36ec1e91efcc85a83bf8aeb
io_uring: add tw add flags

We pass 'allow_local' into io_req_task_work_add() but will need more
flags. Replace it with a flags bit field and name this allow_local
flag.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/4c0f01e7ef4e6feebfb199093cc995af7a19befa.1680782017.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c
io_uring/io_uring.h