From 999cca4ed38b9048148cb03448850ba6ef92a029 Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Wed, 24 May 2017 16:54:30 -0700 Subject: [PATCH] rgw: internal api cleanup rename method, minor change Signed-off-by: Yehuda Sadeh --- src/rgw/rgw_reshard.cc | 4 ++-- src/rgw/rgw_reshard.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rgw/rgw_reshard.cc b/src/rgw/rgw_reshard.cc index 7a5c3b2b411e7..d607e61a27f0a 100644 --- a/src/rgw/rgw_reshard.cc +++ b/src/rgw/rgw_reshard.cc @@ -756,7 +756,7 @@ void RGWReshard::get_logshard_oid(int shard_num, string *logshard) *logshard = objname + buf; } -int RGWReshard::inspect_all_logshards() +int RGWReshard::process_all_logshards() { int ret = 0; @@ -802,7 +802,7 @@ void *RGWReshard::ReshardWorker::entry() { do { utime_t start = ceph_clock_now(); ldout(cct, 2) << "object expiration: start" << dendl; - if (reshard->inspect_all_logshards()) { + if (reshard->process_all_logshards()) { /* All shards have been processed properly. Next time we can start * from this moment. */ last_run = start; diff --git a/src/rgw/rgw_reshard.h b/src/rgw/rgw_reshard.h index d7365810c88b8..8c1b393050c3c 100644 --- a/src/rgw/rgw_reshard.h +++ b/src/rgw/rgw_reshard.h @@ -120,7 +120,7 @@ public: /* reshard thread */ int process_single_logshard(int logshard_num); - int inspect_all_logshards(); + int process_all_logshards(); bool going_down(); void start_processor(); void stop_processor(); -- 2.39.5