aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ceph/osd_client.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/ceph/osd_client.h b/include/linux/ceph/osd_client.h
index 5ee1a3776b4b..af60dac1f9c0 100644
--- a/include/linux/ceph/osd_client.h
+++ b/include/linux/ceph/osd_client.h
@@ -280,6 +280,17 @@ static inline void ceph_osdc_put_request(struct ceph_osd_request *req)
280 kref_put(&req->r_kref, ceph_osdc_release_request); 280 kref_put(&req->r_kref, ceph_osdc_release_request);
281} 281}
282 282
283extern void ceph_osd_data_pages_init(struct ceph_osd_data *osd_data,
284 struct page **pages, u64 length,
285 u32 alignment, bool pages_from_pool,
286 bool own_pages);
287extern void ceph_osd_data_pagelist_init(struct ceph_osd_data *osd_data,
288 struct ceph_pagelist *pagelist);
289#ifdef CONFIG_BLOCK
290extern void ceph_osd_data_bio_init(struct ceph_osd_data *osd_data,
291 struct bio *bio, size_t bio_length);
292#endif /* CONFIG_BLOCK */
293
283extern int ceph_osdc_start_request(struct ceph_osd_client *osdc, 294extern int ceph_osdc_start_request(struct ceph_osd_client *osdc,
284 struct ceph_osd_request *req, 295 struct ceph_osd_request *req,
285 bool nofail); 296 bool nofail);