diff options
author | Alex Elder <elder@inktank.com> | 2013-03-12 00:34:23 -0400 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-05-02 00:17:26 -0400 |
commit | 6518be47f910f62a98cb6044dbb457af55241f95 (patch) | |
tree | 6d1244367ec16ee602b44573a7b84646d416214a /include/linux/ceph | |
parent | 463207aa40cf2cadcae84866b3f85ccaa7022ee8 (diff) |
libceph: kill ceph message bio_iter, bio_seg
The bio_iter and bio_seg fields in a message are no longer used, we
use the cursor instead. So get rid of them and the functions that
operate on them them.
This is related to:
http://tracker.ceph.com/issues/4428
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'include/linux/ceph')
-rw-r--r-- | include/linux/ceph/messenger.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/linux/ceph/messenger.h b/include/linux/ceph/messenger.h index 459e55280bf8..252e01b7f7de 100644 --- a/include/linux/ceph/messenger.h +++ b/include/linux/ceph/messenger.h | |||
@@ -121,11 +121,7 @@ struct ceph_msg_data { | |||
121 | enum ceph_msg_data_type type; | 121 | enum ceph_msg_data_type type; |
122 | union { | 122 | union { |
123 | #ifdef CONFIG_BLOCK | 123 | #ifdef CONFIG_BLOCK |
124 | struct { | 124 | struct bio *bio; |
125 | struct bio *bio_iter; /* iterator */ | ||
126 | struct bio *bio; | ||
127 | unsigned int bio_seg; /* current seg in bio */ | ||
128 | }; | ||
129 | #endif /* CONFIG_BLOCK */ | 125 | #endif /* CONFIG_BLOCK */ |
130 | struct { | 126 | struct { |
131 | struct page **pages; /* NOT OWNER. */ | 127 | struct page **pages; /* NOT OWNER. */ |