On Fri, Aug 06, 2010 at 07:45:35AM +0800, Andrew Morton wrote: > On Thu, 5 Aug 2010 20:53:17 +0200 > Jan Kara <jack@xxxxxxx> wrote: > > > Background writeback and kupdate-style writeback > > What the heck's the difference between "Background writeback" and > "kupdate-style" writeback? afacit "background" means "not due to > kupdate, but due to a vmscan poke or something like that". But the > terms aren't defined anywhere and the wb_writeback_work fields are > uncommented and the functions are undocumented and no wonder we keep > making such a mess of this code. I happen to describe these terms in another email :) ...there are always four main writeback goals/semantics: - periodic stop when all 30s-old inodes are written - background stop when background threshold is reached - nr_pages stop when nr_pages written (or when all clean) - sync stop when all older-than-sync-time inodes/pages are written Thanks, Fengguang -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html