Lines Matching defs:ceph_osd_request

121 struct ceph_osd_request {  struct
122 u64 r_tid; /* unique for this client */
123 struct rb_node r_node;
124 struct list_head r_req_lru_item;
125 struct list_head r_osd_item;
126 struct list_head r_linger_item;
127 struct list_head r_linger_osd_item;
128 struct ceph_osd *r_osd;
129 struct ceph_pg r_pgid;
130 int r_pg_osds[CEPH_PG_MAX_SIZE];
131 int r_num_pg_osds;
133 struct ceph_msg *r_request, *r_reply;
134 int r_flags; /* any additional flags for the osd */
135 u32 r_sent; /* >0 if r_request is sending/sent */
138 unsigned int r_num_ops;
139 struct ceph_osd_req_op r_ops[CEPH_OSD_MAX_OP];
142 __le32 *r_request_osdmap_epoch;
143 __le32 *r_request_flags;
144 __le64 *r_request_pool;
145 void *r_request_pgid;
146 __le32 *r_request_attempts;
147 bool r_paused;
148 struct ceph_eversion *r_request_reassert_version;
150 int r_result;
151 int r_reply_op_len[CEPH_OSD_MAX_OP];
152 s32 r_reply_op_result[CEPH_OSD_MAX_OP];
153 int r_got_reply;
154 int r_linger;
156 struct ceph_osd_client *r_osdc;
157 struct kref r_kref;
158 bool r_mempool;
159 struct completion r_completion, r_safe_completion;
160 ceph_osdc_callback_t r_callback;
161 ceph_osdc_unsafe_callback_t r_unsafe_callback;
162 struct ceph_eversion r_reassert_version;
163 struct list_head r_unsafe_item;
165 struct inode *r_inode; /* for use by callbacks */
166 void *r_priv; /* ditto */
168 struct ceph_object_locator r_base_oloc;
169 struct ceph_object_id r_base_oid;
170 struct ceph_object_locator r_target_oloc;
171 struct ceph_object_id r_target_oid;
173 u64 r_snapid;
174 unsigned long r_stamp; /* send OR check time */
176 struct ceph_snap_context *r_snapc; /* snap context for writes */