We will use the 'mdsc' to get the global_id in the following commits.
Showing the changes to include/linux/ceph (1 of 10 files). Show all
Unified · Split
| @@ -5,6 +5,8 @@ · 4 unmodified lines | |||
| 5 | #include <linux/bug.h> | 5 | #include <linux/bug.h> |
| 6 | #include <linux/ceph/types.h> | 6 | #include <linux/ceph/types.h> |
| 7 | 7 | ||
| 8 | struct ceph_mds_client; | ||
| 9 | |||
| 8 | /* | 10 | /* |
| 9 | * mds map - describe servers in the mds cluster. | 11 | * mds map - describe servers in the mds cluster. |
| 10 | * | 12 | * |
| @@ -65,7 +67,8 @@ static inline bool ceph_mdsmap_is_laggy(struct ceph_mdsmap *m, int w) · 54 unmodified lines | |||
| 65 | } | 67 | } |
| 66 | 68 | ||
| 67 | extern int ceph_mdsmap_get_random_mds(struct ceph_mdsmap *m); | 69 | extern int ceph_mdsmap_get_random_mds(struct ceph_mdsmap *m); |
| 68 | struct ceph_mdsmap *ceph_mdsmap_decode(void **p, void *end, bool msgr2); | 70 | struct ceph_mdsmap *ceph_mdsmap_decode(struct ceph_mds_client *mdsc, void **p, |
| 71 | void *end, bool msgr2); | ||
| 69 | extern void ceph_mdsmap_destroy(struct ceph_mdsmap *m); | 72 | extern void ceph_mdsmap_destroy(struct ceph_mdsmap *m); |
| 70 | extern bool ceph_mdsmap_is_cluster_available(struct ceph_mdsmap *m); | 73 | extern bool ceph_mdsmap_is_cluster_available(struct ceph_mdsmap *m); |
| 71 | 74 | ||