Lines Matching defs:ceph_osd_request
52 struct ceph_osd_request { struct
53 u64 r_tid; /* unique for this client */
54 struct rb_node r_node;
55 struct list_head r_req_lru_item;
56 struct list_head r_osd_item;
57 struct list_head r_linger_item;
58 struct list_head r_linger_osd;
59 struct ceph_osd *r_osd;
60 struct ceph_pg r_pgid;
61 int r_pg_osds[CEPH_PG_MAX_SIZE];
62 int r_num_pg_osds;
64 struct ceph_connection *r_con_filling_msg;
66 struct ceph_msg *r_request, *r_reply;
67 int r_result;
68 int r_flags; /* any additional flags for the osd */
69 u32 r_sent; /* >0 if r_request is sending/sent */
70 int r_got_reply;
71 int r_linger;
73 struct ceph_osd_client *r_osdc;
74 struct kref r_kref;
75 bool r_mempool;
76 struct completion r_completion, r_safe_completion;
77 ceph_osdc_callback_t r_callback, r_safe_callback;
78 struct ceph_eversion r_reassert_version;
79 struct list_head r_unsafe_item;
81 struct inode *r_inode; /* for use by callbacks */
82 void *r_priv; /* ditto */
84 char r_oid[MAX_OBJ_NAME_SIZE]; /* object name */
85 int r_oid_len;
86 unsigned long r_stamp; /* send OR check time */
88 struct ceph_file_layout r_file_layout;
89 struct ceph_snap_context *r_snapc; /* snap context for writes */
90 unsigned r_num_pages; /* size of page array (follows) */
91 unsigned r_page_alignment; /* io offset in first page */
92 struct page **r_pages; /* pages for data payload */
93 int r_pages_from_pool;
94 int r_own_pages; /* if true, i own page list */
96 struct bio *r_bio; /* instead of pages */
99 struct ceph_pagelist *r_trail; /* trailing part of the data */