]> 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>
Thu, 29 Sep 2011 06:08:02 +0000 (16:08 +1000)
commit386b49979cc54561244b9b6e789346a6b8c686aa
tree5996d2b5a0db15249d0c70fb3c2ec90d4f6506ab
parentbf4014d8308f92ee9b171d38ea4000b3c0de9205
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