aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ceph
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2013-04-19 15:34:49 -0500
committerSage Weil <sage@inktank.com>2013-05-01 21:19:06 -0700
commit6c57b5545d46e276381a15a59283c984cf3f94e3 (patch)
tree426b0aae89ea8f70df73fbd607d829fd8ed92f81 /include/linux/ceph
parentlibceph: fix two messenger bugs (diff)
downloadlinux-dev-6c57b5545d46e276381a15a59283c984cf3f94e3.tar.xz
linux-dev-6c57b5545d46e276381a15a59283c984cf3f94e3.zip
libceph: support pages for class request data
Add the ability to provide an array of pages as outbound request data for object class method calls. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'include/linux/ceph')
-rw-r--r--include/linux/ceph/osd_client.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/ceph/osd_client.h b/include/linux/ceph/osd_client.h
index 4d84a2b44f18..4191cd2c55e5 100644
--- a/include/linux/ceph/osd_client.h
+++ b/include/linux/ceph/osd_client.h
@@ -273,6 +273,11 @@ extern void osd_req_op_extent_osd_data_bio(struct ceph_osd_request *,
extern void osd_req_op_cls_request_data_pagelist(struct ceph_osd_request *,
unsigned int which,
struct ceph_pagelist *pagelist);
+extern void osd_req_op_cls_request_data_pages(struct ceph_osd_request *,
+ unsigned int which,
+ struct page **pages, u64 length,
+ u32 alignment, bool pages_from_pool,
+ bool own_pages);
extern void osd_req_op_cls_response_data_pages(struct ceph_osd_request *,
unsigned int which,
struct page **pages, u64 length,