mirror of
https://github.com/ceph/ceph
synced 2025-02-23 19:17:37 +00:00
* restore fakesyn, newsyn shutdown-with-last-client behavior for testing etc.
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1481 29311d96-e01e-0410-9327-a35deaab8ce9
This commit is contained in:
parent
79cfcb2a26
commit
afe979e8fd
@ -79,6 +79,12 @@ int main(int argc, char **argv)
|
||||
|
||||
if (g_conf.clock_tare) g_clock.tare();
|
||||
|
||||
|
||||
// stop on our own
|
||||
g_conf.mon_stop_on_last_unmount = true;
|
||||
g_conf.mon_stop_with_last_mds = true;
|
||||
|
||||
|
||||
MonMap *monmap = new MonMap(g_conf.num_mon);
|
||||
entity_addr_t a;
|
||||
for (int i=0; i<g_conf.num_mon; i++) {
|
||||
|
@ -180,6 +180,12 @@ int main(int argc, char **argv)
|
||||
parse_config_options(args);
|
||||
parse_syn_options(args);
|
||||
|
||||
|
||||
// stop on our own
|
||||
g_conf.mon_stop_on_last_unmount = true;
|
||||
g_conf.mon_stop_with_last_mds = true;
|
||||
|
||||
|
||||
if (g_conf.kill_after)
|
||||
g_timer.add_event_after(g_conf.kill_after, new C_Die);
|
||||
if (g_conf.debug_after)
|
||||
|
Loading…
Reference in New Issue
Block a user