commit | f9eadbbd424c083b8005c7b738f644611b9ef489 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Tue May 18 14:31:45 2010 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Fri May 21 20:00:25 2010 +0200 |
tree | edc73e0fa56de566af7672f6f80579ec317d373f | |
parent | 7c8a3554c683f512dbcee26faedb42e4c05f12fa [diff] |
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: Jens Axboe <jens.axboe@oracle.com>