]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Merge commit 'origin/unstable' into msgr
authorSage Weil <sage@newdream.net>
Wed, 2 Sep 2009 23:13:14 +0000 (16:13 -0700)
committerSage Weil <sage@newdream.net>
Wed, 2 Sep 2009 23:13:14 +0000 (16:13 -0700)
Conflicts:

src/mon/ClientMonitor.cc

1  2 
src/Makefile.am
src/client/Client.cc
src/client/Client.h
src/include/ceph_fs.h
src/mds/Server.cc
src/mon/ClientMonitor.cc
src/mon/ClientMonitor.h

diff --cc src/Makefile.am
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index 3fe2b985b0996bc2711fb9899ccdcf28c638975c,f5374d26346bef00d3f974076eb47f00038b6f2b..aa39c302703fbdf0d7494d94b978dee90843c42c
@@@ -247,6 -347,31 +247,11 @@@ void ClientMonitor::_mounted(__s64 clie
    delete m;
  }
  
 -void ClientMonitor::_unmounted(MClientUnmount *m)
 -{
 -  dout(10) << "_unmounted " << m->get_orig_source_inst() << dendl;
 -  
 -  // reply with (same) unmount message
 -  mon->messenger->send_message(m, m->get_orig_source_inst());
 -
 -  // auto-shutdown?
 -  // (hack for fakesyn/newsyn, mostly)
 -  if (mon->is_leader() &&
 -      client_map.version > 1 &&
 -      client_map.client_info.empty() && 
 -      g_conf.mon_stop_on_last_unmount &&
 -      !mon->is_stopping()) {
 -    dout(1) << "last client unmounted" << dendl;
 -    mon->stop_cluster();
 -  }
 -}
 -
 -
+ bool ClientMonitor::should_propose(double& delay)
+ {
+   return true;  // never delay!  we want fast mounts!
+ }
  void ClientMonitor::tick()
  {
    if (!paxos->is_active()) return;
Simple merge