Skip to content
Commit 6f0974ec authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: don't save/restore iowait state

This kind of state is per-syscall, and since we're doing the waiting off
entering the io_uring_enter(2) syscall, there's no way that iowait can
already be set for this case. Simplify it by setting it if we need to,
and always clearing it to 0 when done.

Fixes: 7b72d661

 ("io_uring: gate iowait schedule on having pending requests")
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 045395d8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment