ceph: add pagelist_reserve, pagelist_truncate, pagelist_set_cursor
authorGreg Farnum <gregf@hq.newdream.net>
Fri, 17 Sep 2010 17:10:55 +0000 (10:10 -0700)
committerSage Weil <sage@newdream.net>
Wed, 20 Oct 2010 22:38:16 +0000 (15:38 -0700)
commitac0b74d8a1ced8ea86147467daf06b15b130dd94
treea71aec65be7f71b42ae78907acd5b0f4aeafd3a9
parent18a38193efcaac1fb3c94ad8fa04bb117850a3c2
ceph: add pagelist_reserve, pagelist_truncate, pagelist_set_cursor

These facilitate preallocation of pages so that we can encode into the pagelist
in an atomic context.

Signed-off-by: Greg Farnum <gregf@hq.newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>
include/linux/ceph/pagelist.h
net/ceph/pagelist.c