From: Casey Bodley Date: Fri, 2 Feb 2024 15:42:00 +0000 (+0000) Subject: Merge pull request #54867 from BBoozmen/oozmen_lc_subsystem X-Git-Tag: v19.1.0~373 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=862b2eeb5b1710e161bf84ad472a9c9ef9c39578;p=ceph.git Merge pull request #54867 from BBoozmen/oozmen_lc_subsystem rgw/common: add rgw lifecycle specific debug log subsystem Reviewed-by: Matt Benjamin Reviewed-by: Jiffin Tony Thottan --- 862b2eeb5b1710e161bf84ad472a9c9ef9c39578 diff --cc src/rgw/rgw_lc.cc index c25e4ffc648b9,09f6a4b86e633..f98131a59e6af --- a/src/rgw/rgw_lc.cc +++ b/src/rgw/rgw_lc.cc @@@ -39,11 -39,9 +39,12 @@@ #include "services/svc_tier_rados.h" #define dout_context g_ceph_context - #define dout_subsys ceph_subsys_rgw + #define dout_subsys ceph_subsys_rgw_lifecycle + +constexpr int32_t hours_in_a_day = 24; +constexpr int32_t secs_in_a_day = hours_in_a_day * 60 * 60; + using namespace std; const char* LC_STATUS[] = {