aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ceph/messenger.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/ceph/messenger.h')
-rw-r--r--include/linux/ceph/messenger.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/ceph/messenger.h b/include/linux/ceph/messenger.h
index 716c3fdeb257..76b4645e2dff 100644
--- a/include/linux/ceph/messenger.h
+++ b/include/linux/ceph/messenger.h
@@ -98,6 +98,13 @@ static __inline__ bool ceph_msg_data_type_valid(enum ceph_msg_data_type type)
98struct ceph_msg_data_cursor { 98struct ceph_msg_data_cursor {
99 bool last_piece; /* now at last piece of data item */ 99 bool last_piece; /* now at last piece of data item */
100 union { 100 union {
101#ifdef CONFIG_BLOCK
102 struct { /* bio */
103 struct bio *bio; /* bio from list */
104 unsigned int vector_index; /* vector from bio */
105 unsigned int vector_offset; /* bytes from vector */
106 };
107#endif /* CONFIG_BLOCK */
101 struct { /* pagelist */ 108 struct { /* pagelist */
102 struct page *page; /* page from list */ 109 struct page *page; /* page from list */
103 size_t offset; /* bytes from list */ 110 size_t offset; /* bytes from list */