diff options
author | Sage Weil <sage@inktank.com> | 2012-05-07 18:36:35 -0400 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2012-05-07 18:39:34 -0400 |
commit | fc7c3ae5ab9246ad96aab4d0d57f67e9255cfb56 (patch) | |
tree | 07ceb79e0a20f9faac7c1621a0543e7ba908b6ff /include/linux/crush | |
parent | 41ebcc0907c58f75d0b25afcaf8b9c35c6b1ad14 (diff) |
crush: remove parent maps
These were used for the ill-fated forcefeed feature. Remove them.
Reflects ceph.git commit ebdf80edfecfbd5a842b71fbe5732857994380c1.
Reviewed-by: Alex Elder <elder@inktank.com>
Signed-off-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'include/linux/crush')
-rw-r--r-- | include/linux/crush/crush.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/crush/crush.h b/include/linux/crush/crush.h index 3f50369a50e8..158a4d25ca83 100644 --- a/include/linux/crush/crush.h +++ b/include/linux/crush/crush.h | |||
@@ -151,16 +151,6 @@ struct crush_map { | |||
151 | struct crush_bucket **buckets; | 151 | struct crush_bucket **buckets; |
152 | struct crush_rule **rules; | 152 | struct crush_rule **rules; |
153 | 153 | ||
154 | /* | ||
155 | * Parent pointers to identify the parent bucket a device or | ||
156 | * bucket in the hierarchy. If an item appears more than | ||
157 | * once, this is the _last_ time it appeared (where buckets | ||
158 | * are processed in bucket id order, from -1 on down to | ||
159 | * -max_buckets. | ||
160 | */ | ||
161 | __u32 *bucket_parents; | ||
162 | __u32 *device_parents; | ||
163 | |||
164 | __s32 max_buckets; | 154 | __s32 max_buckets; |
165 | __u32 max_rules; | 155 | __u32 max_rules; |
166 | __s32 max_devices; | 156 | __s32 max_devices; |
@@ -169,7 +159,6 @@ struct crush_map { | |||
169 | 159 | ||
170 | /* crush.c */ | 160 | /* crush.c */ |
171 | extern int crush_get_bucket_item_weight(const struct crush_bucket *b, int pos); | 161 | extern int crush_get_bucket_item_weight(const struct crush_bucket *b, int pos); |
172 | extern void crush_calc_parents(struct crush_map *map); | ||
173 | extern void crush_destroy_bucket_uniform(struct crush_bucket_uniform *b); | 162 | extern void crush_destroy_bucket_uniform(struct crush_bucket_uniform *b); |
174 | extern void crush_destroy_bucket_list(struct crush_bucket_list *b); | 163 | extern void crush_destroy_bucket_list(struct crush_bucket_list *b); |
175 | extern void crush_destroy_bucket_tree(struct crush_bucket_tree *b); | 164 | extern void crush_destroy_bucket_tree(struct crush_bucket_tree *b); |