ceph: use __page_cache_alloc and add_to_page_cache_lru
authorYehuda Sadeh <yehuda@hq.newdream.net>
Wed, 17 Mar 2010 20:54:02 +0000 (13:54 -0700)
committerSage Weil <sage@newdream.net>
Mon, 17 May 2010 22:25:12 +0000 (15:25 -0700)
Following Nick Piggin patches in btrfs, pagecache pages should be
allocated with __page_cache_alloc, so they obey pagecache memory
policies.

Also, using add_to_page_cache_lru instead of using a private
pagevec where applicable.

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>

No differences found