diff options
Diffstat (limited to 'fs/ceph/osd_client.h')
-rw-r--r-- | fs/ceph/osd_client.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/fs/ceph/osd_client.h b/fs/ceph/osd_client.h index ce776989ef6a..b687c2ea72e6 100644 --- a/fs/ceph/osd_client.h +++ b/fs/ceph/osd_client.h | |||
@@ -119,6 +119,31 @@ extern void ceph_osdc_handle_reply(struct ceph_osd_client *osdc, | |||
119 | extern void ceph_osdc_handle_map(struct ceph_osd_client *osdc, | 119 | extern void ceph_osdc_handle_map(struct ceph_osd_client *osdc, |
120 | struct ceph_msg *msg); | 120 | struct ceph_msg *msg); |
121 | 121 | ||
122 | extern void ceph_calc_raw_layout(struct ceph_osd_client *osdc, | ||
123 | struct ceph_file_layout *layout, | ||
124 | u64 snapid, | ||
125 | u64 off, u64 len, u64 *bno, | ||
126 | struct ceph_osd_request *req); | ||
127 | |||
128 | extern struct ceph_osd_request *ceph_osdc_alloc_request(struct ceph_osd_client *osdc, | ||
129 | int flags, | ||
130 | struct ceph_snap_context *snapc, | ||
131 | int do_sync, | ||
132 | bool use_mempool, | ||
133 | gfp_t gfp_flags, | ||
134 | struct page **pages); | ||
135 | |||
136 | extern void ceph_osdc_build_request(struct ceph_osd_request *req, | ||
137 | u64 off, u64 *plen, | ||
138 | int opcode, | ||
139 | struct ceph_snap_context *snapc, | ||
140 | int do_sync, | ||
141 | u32 truncate_seq, | ||
142 | u64 truncate_size, | ||
143 | struct timespec *mtime, | ||
144 | const char *oid, | ||
145 | int oid_len); | ||
146 | |||
122 | extern struct ceph_osd_request *ceph_osdc_new_request(struct ceph_osd_client *, | 147 | extern struct ceph_osd_request *ceph_osdc_new_request(struct ceph_osd_client *, |
123 | struct ceph_file_layout *layout, | 148 | struct ceph_file_layout *layout, |
124 | struct ceph_vino vino, | 149 | struct ceph_vino vino, |