]> 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>
Fri, 30 Sep 2011 04:53:21 +0000 (14:53 +1000)
commita400f309726d1b3ecb2871da1e5b7bd926224b0b
treecdc51763a7132ea2141ee9f15be89db16c13f1b1
parent2e50fd2f0b8f0126e62039406204508dd8cae9bb
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