commit | 31459fe4b24c1e09712eff0d82a5276f4fd0e3cf | [log] [tgz] |
---|---|---|
author | Yehuda Sadeh <yehuda@hq.newdream.net> | Wed Mar 17 13:54:02 2010 -0700 |
committer | Sage Weil <sage@newdream.net> | Mon May 17 15:25:12 2010 -0700 |
tree | b5f7b4c1bac0eb93cef51443373909eb91c43cc4 | |
parent | f553069e5d7c6f53688ae4470173fcb1be97cbe7 [diff] |
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>