aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ceph/osd_client.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/ceph/osd_client.h b/include/linux/ceph/osd_client.h
index 2a68a7465c18..0d3358ef5285 100644
--- a/include/linux/ceph/osd_client.h
+++ b/include/linux/ceph/osd_client.h
@@ -29,6 +29,7 @@ struct ceph_authorizer;
29 */ 29 */
30typedef void (*ceph_osdc_callback_t)(struct ceph_osd_request *, 30typedef void (*ceph_osdc_callback_t)(struct ceph_osd_request *,
31 struct ceph_msg *); 31 struct ceph_msg *);
32typedef void (*ceph_osdc_unsafe_callback_t)(struct ceph_osd_request *, bool);
32 33
33/* a given osd we're communicating with */ 34/* a given osd we're communicating with */
34struct ceph_osd { 35struct ceph_osd {
@@ -149,7 +150,8 @@ struct ceph_osd_request {
149 struct kref r_kref; 150 struct kref r_kref;
150 bool r_mempool; 151 bool r_mempool;
151 struct completion r_completion, r_safe_completion; 152 struct completion r_completion, r_safe_completion;
152 ceph_osdc_callback_t r_callback, r_safe_callback; 153 ceph_osdc_callback_t r_callback;
154 ceph_osdc_unsafe_callback_t r_unsafe_callback;
153 struct ceph_eversion r_reassert_version; 155 struct ceph_eversion r_reassert_version;
154 struct list_head r_unsafe_item; 156 struct list_head r_unsafe_item;
155 157