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

writeback: bdi_writeback_task() must set task state before calling schedule()



Calling schedule without setting the task state to non-running will
return immediately, so ensure that we set it properly and check our
sleep conditions after doing so.

This is a fixup for commit 69b62d01.

Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 7c8a3554
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