On Wed, Jul 21, 2010 at 12:31:44PM +0300, Artem Bityutskiy wrote: > From: Artem Bityutskiy <Artem.Bityutskiy@xxxxxxxxx> > > This patch re-structures the loop which walks bdi a little. This is just a > micro-step towards the coming change where the forker thread will kill the bdi > threads. It should simplify reviewing the following changes, which would > otherwise be larger. > > This patch also adds the 'bdi_cap_flush_forker(bdi)' condition check to the > loop. The reason for this is that the forker thread can start _before_ the > 'BDI_registered' flag is set (see 'bdi_register()'), so the WARN() statement > will fire for the default bdi. I observed this warning at boot-up. > > This patch also amends comments a little. Looks good, Reviewed-by: Christoph Hellwig <hch@xxxxxx> -- 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