aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/mdsmap.h
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2009-11-19 18:31:50 -0500
committerSage Weil <sage@newdream.net>2009-11-20 17:24:33 -0500
commit94045e115ee72aee3b17295791da07078f2f778c (patch)
treebc38f3425b15995709ee4f698246b2febffff515 /fs/ceph/mdsmap.h
parent0743304d871559cb4c7c066357de2caa60e94c2f (diff)
ceph: decode updated mdsmap format
The mds map now uses the global_id as the 'key' (instead of the addr, which was a poor choice). This is protocol change. Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/mdsmap.h')
-rw-r--r--fs/ceph/mdsmap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/mdsmap.h b/fs/ceph/mdsmap.h
index d317308648fb..eacc131aa5cb 100644
--- a/fs/ceph/mdsmap.h
+++ b/fs/ceph/mdsmap.h
@@ -9,6 +9,7 @@
9 * we limit fields to those the client actually xcares about 9 * we limit fields to those the client actually xcares about
10 */ 10 */
11struct ceph_mds_info { 11struct ceph_mds_info {
12 u64 global_id;
12 struct ceph_entity_addr addr; 13 struct ceph_entity_addr addr;
13 s32 state; 14 s32 state;
14 int num_export_targets; 15 int num_export_targets;