diff options
author | Sage Weil <sage@newdream.net> | 2009-11-19 18:31:50 -0500 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2009-11-20 17:24:33 -0500 |
commit | 94045e115ee72aee3b17295791da07078f2f778c (patch) | |
tree | bc38f3425b15995709ee4f698246b2febffff515 /fs/ceph/mdsmap.h | |
parent | 0743304d871559cb4c7c066357de2caa60e94c2f (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.h | 1 |
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 | */ |
11 | struct ceph_mds_info { | 11 | struct 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; |