Skip to content
Commit deb59462 authored by Jens Axboe's avatar Jens Axboe Committed by Sasha Levin
Browse files

io_uring: don't save/restore iowait state

[ Upstream commit 6f0974ec ]

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>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 1049fa4d
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