[PATCH 3/8] ext4: Warn if direct reclaim tries to writeback pages

Johannes Weiner jweiner at redhat.com
Wed Aug 3 06:06:29 CDT 2011


On Wed, Aug 03, 2011 at 12:58:19PM +0200, Johannes Weiner wrote:
> On Thu, Jul 21, 2011 at 05:28:45PM +0100, Mel Gorman wrote:
> > Direct reclaim should never writeback pages. Warn if an attempt
> > is made.
> > 
> > Signed-off-by: Mel Gorman <mgorman at suse.de>
> 
> Acked-by: Johannes Weiner <jweiner at redhat.com>

Oops, too fast.

Shouldn't the WARN_ON() be at the top of the function, rather than
just warn when the write is deferred due to delalloc?




More information about the xfs mailing list