writeback: make wakeup_dirtytime_writeback() handle multiple bdi_writeback's
authorTejun Heo <tj@kernel.org>
Fri, 22 May 2015 21:13:56 +0000 (17:13 -0400)
committerJens Axboe <axboe@fb.com>
Tue, 2 Jun 2015 14:33:36 +0000 (08:33 -0600)
commit001fe6f617b1a352ad29cc3643384b3d8141dc07
tree42dadb5be0402a3a3b2e6f49aff9a22ec3373e45
parentf2b65121607631df0753eedd624262818707af32
writeback: make wakeup_dirtytime_writeback() handle multiple bdi_writeback's

wakeup_dirtytime_writeback() currently only starts writeback on the
root wb (bdi_writeback).  For cgroup writeback support, update the
function to check all wbs.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Jan Kara <jack@suse.cz>
Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Jens Axboe <axboe@fb.com>
fs/fs-writeback.c