diff options
author | Jens Axboe <axboe@kernel.dk> | 2023-01-24 08:24:25 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-01-29 15:17:41 -0700 |
commit | b5d3ae202fbfe055aa2a8ae8524531ee1dcab717 (patch) | |
tree | 21b73092fdd7d7a71416854091912ae9e7b75e52 /io_uring/io-wq.c | |
parent | 8572df941cbef2b295282535b013828e7df39471 (diff) |
io_uring: handle TIF_NOTIFY_RESUME when checking for task_work
If TIF_NOTIFY_RESUME is set, then we need to call resume_user_mode_work()
for PF_IO_WORKER threads. They never return to usermode, hence never get
a chance to process any items that are marked by this flag. Most notably
this includes the final put of files, but also any throttling markers set
by block cgroups.
Cc: stable@vger.kernel.org # 5.10+
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/io-wq.c')
0 files changed, 0 insertions, 0 deletions