]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: move coroutines out of anonymous namespace
authorCasey Bodley <cbodley@redhat.com>
Tue, 9 Aug 2016 21:33:05 +0000 (17:33 -0400)
committerCasey Bodley <cbodley@redhat.com>
Wed, 26 Apr 2017 18:04:16 +0000 (14:04 -0400)
anonymous namespaces do terrible things to name mangling, and this shows
up in our coroutine logging

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_data_sync.cc

index ea69374b074691e668582421ac53952e9f5b2f0e..7d338903d39314971a499fcc02ddb0d6a01a59e8 100644 (file)
@@ -2936,6 +2936,8 @@ void take_min_markers(IterIn first, IterIn last, IterOut dest)
   }
 }
 
+} // anonymous namespace
+
 class DataLogTrimCR : public RGWCoroutine {
   RGWRados *store;
   RGWHTTPManager *http;
@@ -3077,8 +3079,6 @@ int DataLogTrimPollCR::operate()
   return 0;
 }
 
-} // anonymous namespace
-
 RGWCoroutine* create_data_log_trim_cr(RGWRados *store,
                                       RGWHTTPManager *http,
                                       int num_shards, utime_t interval)