aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ceph/osd_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/ceph/osd_client.h')
-rw-r--r--include/linux/ceph/osd_client.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/ceph/osd_client.h b/include/linux/ceph/osd_client.h
index a9c4089894c8..ae5193550fbf 100644
--- a/include/linux/ceph/osd_client.h
+++ b/include/linux/ceph/osd_client.h
@@ -87,12 +87,14 @@ struct ceph_osd_req_op {
87 u64 offset, length; 87 u64 offset, length;
88 u64 truncate_size; 88 u64 truncate_size;
89 u32 truncate_seq; 89 u32 truncate_seq;
90 struct ceph_osd_data *osd_data;
90 } extent; 91 } extent;
91 struct { 92 struct {
92 const char *class_name; 93 const char *class_name;
93 const char *method_name; 94 const char *method_name;
94 const void *request_data; 95 const void *request_data;
95 u32 request_data_len; 96 u32 request_data_len;
97 struct ceph_osd_data *response_data;
96 __u8 class_len; 98 __u8 class_len;
97 __u8 method_len; 99 __u8 method_len;
98 __u8 argc; 100 __u8 argc;
@@ -236,10 +238,14 @@ extern void osd_req_op_extent_init(struct ceph_osd_req_op *op, u16 opcode,
236 u64 offset, u64 length, 238 u64 offset, u64 length,
237 u64 truncate_size, u32 truncate_seq); 239 u64 truncate_size, u32 truncate_seq);
238extern void osd_req_op_extent_update(struct ceph_osd_req_op *op, u64 length); 240extern void osd_req_op_extent_update(struct ceph_osd_req_op *op, u64 length);
241extern void osd_req_op_extent_osd_data(struct ceph_osd_req_op *op,
242 struct ceph_osd_data *osd_data);
239extern void osd_req_op_cls_init(struct ceph_osd_req_op *op, u16 opcode, 243extern void osd_req_op_cls_init(struct ceph_osd_req_op *op, u16 opcode,
240 const char *class, const char *method, 244 const char *class, const char *method,
241 const void *request_data, 245 const void *request_data,
242 size_t request_data_size); 246 size_t request_data_size);
247extern void osd_req_op_cls_response_data(struct ceph_osd_req_op *op,
248 struct ceph_osd_data *response_data);
243extern void osd_req_op_watch_init(struct ceph_osd_req_op *op, u16 opcode, 249extern void osd_req_op_watch_init(struct ceph_osd_req_op *op, u16 opcode,
244 u64 cookie, u64 version, int flag); 250 u64 cookie, u64 version, int flag);
245 251