summaryrefslogtreecommitdiffstats
path: root/fs/io_uring.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2021-03-21 14:06:56 +0100
committerJens Axboe <axboe@kernel.dk>2021-03-21 16:41:14 +0100
commit00ddff431a458bbf143ea7c4c42d022676da1b17 (patch)
treea2c094c16df92bbe8c2040d7346541d019b1b2be /fs/io_uring.c
parentsignal: don't allow STOP on PF_IO_WORKER threads (diff)
downloadlinux-00ddff431a458bbf143ea7c4c42d022676da1b17.tar.xz
linux-00ddff431a458bbf143ea7c4c42d022676da1b17.zip
io-wq: ensure task is running before processing task_work
Mark the current task as running if we need to run task_work from the io-wq threads as part of work handling. If that is the case, then return as such so that the caller can appropriately loop back and reset if it was part of a going-to-sleep flush. Fixes: 3bfe6106693b ("io-wq: fork worker threads from original task") Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions