aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/osd_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ceph/osd_client.h')
-rw-r--r--fs/ceph/osd_client.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/ceph/osd_client.h b/fs/ceph/osd_client.h
index 70f31b61f02c..f256eba6fe7a 100644
--- a/fs/ceph/osd_client.h
+++ b/fs/ceph/osd_client.h
@@ -53,7 +53,6 @@ struct ceph_osd_request {
53 int r_flags; /* any additional flags for the osd */ 53 int r_flags; /* any additional flags for the osd */
54 u32 r_sent; /* >0 if r_request is sending/sent */ 54 u32 r_sent; /* >0 if r_request is sending/sent */
55 int r_got_reply; 55 int r_got_reply;
56 int r_num_prealloc_reply;
57 56
58 struct ceph_osd_client *r_osdc; 57 struct ceph_osd_client *r_osdc;
59 struct kref r_kref; 58 struct kref r_kref;
@@ -77,9 +76,6 @@ struct ceph_osd_request {
77 struct page **r_pages; /* pages for data payload */ 76 struct page **r_pages; /* pages for data payload */
78 int r_pages_from_pool; 77 int r_pages_from_pool;
79 int r_own_pages; /* if true, i own page list */ 78 int r_own_pages; /* if true, i own page list */
80
81 struct ceph_msg *replies[2];
82 int cur_reply;
83}; 79};
84 80
85struct ceph_osd_client { 81struct ceph_osd_client {
@@ -106,6 +102,7 @@ struct ceph_osd_client {
106 mempool_t *req_mempool; 102 mempool_t *req_mempool;
107 103
108 struct ceph_msgpool msgpool_op; 104 struct ceph_msgpool msgpool_op;
105 struct ceph_msgpool msgpool_op_reply;
109}; 106};
110 107
111extern int ceph_osdc_init(struct ceph_osd_client *osdc, 108extern int ceph_osdc_init(struct ceph_osd_client *osdc,