Skip to content
Commit fd1c4bc6 authored by Hillf Danton's avatar Hillf Danton Committed by Jens Axboe
Browse files

io-wq: add cond_resched() to worker thread



Reschedule the current IO worker to cut the risk that it is becoming
a cpu hog.

Signed-off-by: default avatarHillf Danton <hdanton@sina.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 1f424e8b
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