]> bbs.cooldavid.org Git - net-next-2.6.git/commit
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)
commit31459fe4b24c1e09712eff0d82a5276f4fd0e3cf
treeb5f7b4c1bac0eb93cef51443373909eb91c43cc4
parentf553069e5d7c6f53688ae4470173fcb1be97cbe7
ceph: use __page_cache_alloc and add_to_page_cache_lru

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>
fs/ceph/addr.c
fs/ceph/file.c
fs/ceph/messenger.c
fs/ceph/pagelist.c
fs/ceph/xattr.c