Loading src/daemon/daemon.cpp +8 −6 Original line number Original line Diff line number Diff line Loading @@ -414,6 +414,14 @@ parse_input(const po::variables_map& vm) { } } GKFS_DATA->hosts_file(hosts_file); GKFS_DATA->hosts_file(hosts_file); if(gkfs::config::dynamic_placement && vm.count("start-relocation")) { cout << "Starting relocation...\n"; gkfs::relocation::test_d2d_rpc(); // Don't create any directories and no interest in the other options exit(0); } assert(vm.count("mountdir")); assert(vm.count("mountdir")); auto mountdir = vm["mountdir"].as<string>(); auto mountdir = vm["mountdir"].as<string>(); // Create mountdir. We use this dir to get some information on the // Create mountdir. We use this dir to get some information on the Loading Loading @@ -549,12 +557,6 @@ main(int argc, const char* argv[]) { exit(EXIT_FAILURE); exit(EXIT_FAILURE); } } if(gkfs::config::dynamic_placement && vm.count("start-relocation")) { cout << "Starting relocation...\n"; gkfs::relocation::test_d2d_rpc(); return 0; } /* /* * Initialize environment and start daemon. Wait until signaled to cancel * Initialize environment and start daemon. Wait until signaled to cancel * before shutting down * before shutting down Loading Loading
src/daemon/daemon.cpp +8 −6 Original line number Original line Diff line number Diff line Loading @@ -414,6 +414,14 @@ parse_input(const po::variables_map& vm) { } } GKFS_DATA->hosts_file(hosts_file); GKFS_DATA->hosts_file(hosts_file); if(gkfs::config::dynamic_placement && vm.count("start-relocation")) { cout << "Starting relocation...\n"; gkfs::relocation::test_d2d_rpc(); // Don't create any directories and no interest in the other options exit(0); } assert(vm.count("mountdir")); assert(vm.count("mountdir")); auto mountdir = vm["mountdir"].as<string>(); auto mountdir = vm["mountdir"].as<string>(); // Create mountdir. We use this dir to get some information on the // Create mountdir. We use this dir to get some information on the Loading Loading @@ -549,12 +557,6 @@ main(int argc, const char* argv[]) { exit(EXIT_FAILURE); exit(EXIT_FAILURE); } } if(gkfs::config::dynamic_placement && vm.count("start-relocation")) { cout << "Starting relocation...\n"; gkfs::relocation::test_d2d_rpc(); return 0; } /* /* * Initialize environment and start daemon. Wait until signaled to cancel * Initialize environment and start daemon. Wait until signaled to cancel * before shutting down * before shutting down Loading