Commit 3542a5c0 authored by Jens Axboe's avatar Jens Axboe

writeback: don't use schedule_timeout() without setting runstate

Just use schedule_timeout_interruptible(), saves a call to
Signed-off-by: default avatarJens Axboe <>
parent 92f25053
......@@ -561,7 +561,7 @@ static void balance_dirty_pages(struct address_space *mapping)
if (pages_written >= write_chunk)
break; /* We've done our duty */
if (bdi_nr_reclaimable + bdi_nr_writeback < bdi_thresh &&
Markdown is supported
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