From: Jens Axboe Date: Wed, 16 Sep 2009 13:13:54 +0000 (+0200) Subject: writeback: separate starting of sync vs opportunistic writeback X-Git-Tag: v2.6.32-rc1~672^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6e51316daede0633e9274e1e30391cfa4747877;p=pandora-kernel.git writeback: separate starting of sync vs opportunistic writeback bdi_start_writeback() is currently split into two paths, one for WB_SYNC_NONE and one for WB_SYNC_ALL. Add bdi_sync_writeback() for WB_SYNC_ALL writeback and let bdi_start_writeback() handle only WB_SYNC_NONE. Push down the writeback_control allocation and only accept the parameters that make sense for each function. This cleans up the API considerably. Signed-off-by: Jens Axboe --- Reading git-diff-tree failed