]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tool/ceph_dedup: rename make_crawling_daemon to run_crawling_daemon
authormyoungwon oh <ohmyoungwon@gmail.com>
Thu, 2 May 2024 07:15:42 +0000 (07:15 +0000)
committermyoungwon oh <ohmyoungwon@gmail.com>
Mon, 20 May 2024 23:45:08 +0000 (23:45 +0000)
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
src/tools/ceph_dedup/ceph_dedup_daemon.cc

index f8a462ec8a0b3c31132ca6cfdea8be8018efc2ca..c8ae5dbb7c9dcb5f0a4fbfe777336d14449ffbc5 100644 (file)
@@ -582,7 +582,7 @@ int SampleDedupWorkerThread::do_chunk_dedup(chunk_t &chunk, snap_t snap)
 
 unique_ptr<SampleDedupWorkerThread::SampleDedupGlobal> state;
 
-int make_crawling_daemon(const po::variables_map &opts)
+int run_crawling_daemon(const po::variables_map &opts)
 {
   string base_pool_name = get_opts_pool_name(opts);
   string chunk_pool_name = get_opts_chunk_pool(opts);
@@ -812,7 +812,7 @@ int main(int argc, const char **argv)
   register_async_signal_handler_oneshot(SIGINT, handle_signal);
   register_async_signal_handler_oneshot(SIGTERM, handle_signal);
 
-  int ret = make_crawling_daemon(opts);
+  int ret = run_crawling_daemon(opts);
 
   unregister_async_signal_handler(SIGINT, handle_signal);
   unregister_async_signal_handler(SIGTERM, handle_signal);