diff options
Diffstat (limited to 'fs/ceph/osdmap.h')
-rw-r--r-- | fs/ceph/osdmap.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/fs/ceph/osdmap.h b/fs/ceph/osdmap.h index c4af8418aa00..1fb55afb2642 100644 --- a/fs/ceph/osdmap.h +++ b/fs/ceph/osdmap.h | |||
@@ -19,6 +19,8 @@ | |||
19 | * the change between two successive epochs, or as a fully encoded map. | 19 | * the change between two successive epochs, or as a fully encoded map. |
20 | */ | 20 | */ |
21 | struct ceph_pg_pool_info { | 21 | struct ceph_pg_pool_info { |
22 | struct rb_node node; | ||
23 | int id; | ||
22 | struct ceph_pg_pool v; | 24 | struct ceph_pg_pool v; |
23 | int pg_num_mask, pgp_num_mask, lpg_num_mask, lpgp_num_mask; | 25 | int pg_num_mask, pgp_num_mask, lpg_num_mask, lpgp_num_mask; |
24 | }; | 26 | }; |
@@ -44,9 +46,8 @@ struct ceph_osdmap { | |||
44 | struct ceph_entity_addr *osd_addr; | 46 | struct ceph_entity_addr *osd_addr; |
45 | 47 | ||
46 | struct rb_root pg_temp; | 48 | struct rb_root pg_temp; |
47 | 49 | struct rb_root pg_pools; | |
48 | u32 num_pools; | 50 | u32 pool_max; |
49 | struct ceph_pg_pool_info *pg_pool; | ||
50 | 51 | ||
51 | /* the CRUSH map specifies the mapping of placement groups to | 52 | /* the CRUSH map specifies the mapping of placement groups to |
52 | * the list of osds that store+replicate them. */ | 53 | * the list of osds that store+replicate them. */ |