summaryrefslogtreecommitdiffstats
path: root/src/mds/Beacon.h
diff options
context:
space:
mode:
authorJohn Spray <john.spray@redhat.com>2015-06-30 12:18:44 +0200
committerJohn Spray <john.spray@redhat.com>2015-07-28 10:05:07 +0200
commit2d0758f41a9997f7f2f04f8b0d0761b262aae8c6 (patch)
tree9ad419388b0f52244e7bfc7d5aeb96e8ffd58424 /src/mds/Beacon.h
parentmds: move MDS non-core dispatch into MDSRank (diff)
downloadceph-2d0758f41a9997f7f2f04f8b0d0761b262aae8c6.tar.xz
ceph-2d0758f41a9997f7f2f04f8b0d0761b262aae8c6.zip
mds: separate MDSMap handling between MDS and MDSRank
Logic for standby is different from logic for when holding a rank. Signed-off-by: John Spray <john.spray@redhat.com>
Diffstat (limited to 'src/mds/Beacon.h')
-rw-r--r--src/mds/Beacon.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mds/Beacon.h b/src/mds/Beacon.h
index ba2cb46c77f..02b5fdb5247 100644
--- a/src/mds/Beacon.h
+++ b/src/mds/Beacon.h
@@ -25,7 +25,7 @@
class MonClient;
class MMDSBeacon;
class Message;
-class MDS;
+class MDSRank;
/**
@@ -95,7 +95,7 @@ public:
void notify_mdsmap(MDSMap const *mdsmap);
void notify_want_state(MDSMap::DaemonState const newstate);
- void notify_health(MDS const *mds);
+ void notify_health(MDSRank const *mds);
void set_standby_for(mds_rank_t rank_, std::string const &name_);