]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xfs: warn if direct reclaim tries to writeback pages
authorMel Gorman <mgorman@suse.de>
Wed, 28 Sep 2011 00:50:06 +0000 (10:50 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 4 Oct 2011 07:38:29 +0000 (18:38 +1100)
commite9153a5441cf8ba19ddbad24fa35168b0ddd0b35
tree00660b6895848b7519d911ebc3da077f426840fc
parent8c1483493311b5d81ca0ebff2add82052f52d47c
xfs: warn if direct reclaim tries to writeback pages

Direct reclaim should never writeback pages.  For now, handle the
situation and warn about it.  Ultimately, this will be a BUG_ON.

Signed-off-by: Mel Gorman <mgorman@suse.de>
Cc: Dave Chinner <david@fromorbit.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Johannes Weiner <jweiner@redhat.com>
Cc: Wu Fengguang <fengguang.wu@intel.com>
Cc: Jan Kara <jack@suse.cz>
Cc: Minchan Kim <minchan.kim@gmail.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Alex Elder <aelder@sgi.com>
Cc: Theodore Ts'o <tytso@mit.edu>
Cc: Chris Mason <chris.mason@oracle.com>
Cc: Dave Hansen <dave@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <>
fs/xfs/xfs_aops.c