summaryrefslogtreecommitdiffstats
path: root/fs/ceph/mdsmap.h
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2009-11-19 15:31:50 -0800
committerSage Weil <sage@newdream.net>2009-11-20 14:24:33 -0800
commit94045e115ee72aee3b17295791da07078f2f778c (patch)
treebc38f3425b15995709ee4f698246b2febffff515 /fs/ceph/mdsmap.h
parent0743304d871559cb4c7c066357de2caa60e94c2f (diff)
downloadop-kernel-dev-94045e115ee72aee3b17295791da07078f2f778c.zip
op-kernel-dev-94045e115ee72aee3b17295791da07078f2f778c.tar.gz
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 d317308..eacc131 100644
--- a/fs/ceph/mdsmap.h
+++ b/fs/ceph/mdsmap.h
@@ -9,6 +9,7 @@
* we limit fields to those the client actually xcares about
*/
struct ceph_mds_info {
+ u64 global_id;
struct ceph_entity_addr addr;
s32 state;
int num_export_targets;
OpenPOWER on IntegriCloud