]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Merge branch 'wip-14374' of git://github.com/jcsp/ceph into greg-fs-testing
authorGreg Farnum <gfarnum@redhat.com>
Tue, 26 Jan 2016 19:14:04 +0000 (11:14 -0800)
committerGreg Farnum <gfarnum@redhat.com>
Tue, 26 Jan 2016 19:14:04 +0000 (11:14 -0800)
https://github.com/ceph/ceph/pull/7295

Reviewed-by: Yan, Zheng <zyan@redhat.com>
Conflicts:
src/mds/MDSDaemon.cc

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
1  2 
src/mds/MDSDaemon.cc

index 4b562b27dbdbe1800b70b9bfb53cd908fb9dc889,b38b6c9a6cc47c69b6dc18a94097f121e9aa99ee..dfd744cf1681e28c68eb722b01236022ea5c046d
@@@ -499,9 -476,7 +499,7 @@@ int MDSDaemon::init(MDSMap::DaemonStat
    // Set up admin socket before taking mds_lock, so that ordering
    // is consistent (later we take mds_lock within asok callbacks)
    set_up_admin_socket();
--
 +  g_conf->add_observer(this);
    mds_lock.Lock();
    if (beacon.get_want_state() == MDSMap::STATE_DNE) {
      suicide();  // we could do something more graceful here
    
    // schedule tick
    reset_tick();
--
+   g_conf->add_observer(this);
 -
    mds_lock.Unlock();
  
    return 0;