]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Btrfs: pass __GFP_WRITE for buffered write page allocations
authorJohannes Weiner <jweiner@redhat.com>
Fri, 2 Dec 2011 03:12:06 +0000 (14:12 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 5 Dec 2011 04:19:21 +0000 (15:19 +1100)
commitb8f9f52426a3ad26a7b9431fb0d333cbc21d03d3
treef76c69465f36b638c72f88b9ab6a71e8a9531e3e
parent34f0eae2ebc6f5578878f6f32524e7155d14b880
Btrfs: pass __GFP_WRITE for buffered write page allocations

Tell the page allocator that pages allocated for a buffered write are
expected to become dirty soon.

Signed-off-by: Johannes Weiner <jweiner@redhat.com>
Reviewed-by: Rik van Riel <riel@redhat.com>
Acked-by: Mel Gorman <mgorman@suse.de>
Cc: Minchan Kim <minchan.kim@gmail.com>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Wu Fengguang <fengguang.wu@intel.com>
Cc: Dave Chinner <david@fromorbit.com>
Cc: Jan Kara <jack@suse.cz>
Cc: Shaohua Li <shaohua.li@intel.com>
Cc: Chris Mason <chris.mason@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/btrfs/file.c