]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: add missing includes
authorMax Kellermann <max.kellermann@ionos.com>
Tue, 12 Aug 2025 16:44:32 +0000 (18:44 +0200)
committerMax Kellermann <max.kellermann@ionos.com>
Thu, 28 Aug 2025 09:21:06 +0000 (11:21 +0200)
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
13 files changed:
src/rgw/driver/rados/rgw_bucket.cc
src/rgw/driver/rados/rgw_gc.cc
src/rgw/driver/rados/rgw_object_expirer_core.cc
src/rgw/radosgw-admin/orphan.cc
src/rgw/rgw_compression_types.h
src/rgw/rgw_dedup_cluster.cc
src/rgw/rgw_dedup_epoch.h
src/rgw/rgw_keystone.h
src/rgw/rgw_lc.cc
src/rgw/rgw_object_lock.h
src/rgw/rgw_pool_types.h
src/rgw/rgw_restore.cc
src/rgw/rgw_tag.h

index b3a868529e3a18c914e310a87168e07fb11cc2b6..f09aafb04933d8a7a3a0b765ff24bdae3c92b630 100644 (file)
@@ -1,6 +1,7 @@
 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
 // vim: ts=8 sw=2 smarttab ft=cpp
 
+#include "common/Clock.h" // for ceph_clock_now()
 #include "include/function2.hpp"
 #include "rgw_acl_s3.h"
 #include "rgw_tag_s3.h"
index 71473d1e382bf081e12549cb36c4b05e273c6b77..79353dc97f51630d9b87f05a391981b9c991bea6 100644 (file)
@@ -4,6 +4,7 @@
 #include "rgw_gc.h"
 
 #include "rgw_tools.h"
+#include "common/Clock.h" // for ceph_clock_now()
 #include "include/scope_guard.h"
 #include "include/rados/librados.hpp"
 #include "cls/rgw/cls_rgw_client.h"
index 2e4491f98ac0f821aab0aed95aca49d639394fa8..606c16496d309aee33d74f908497db610203e368 100644 (file)
@@ -11,6 +11,7 @@
 
 #include "common/armor.h"
 #include "common/ceph_json.h"
+#include "common/Clock.h" // for ceph_clock_now()
 #include "common/config.h"
 #include "common/ceph_argparse.h"
 #include "common/Formatter.h"
index d29b581f3e4219103b578ddaf69e3151287144db..4ec36c7cc1cea1618c167b1d9b75131c9b4539ac 100644 (file)
@@ -8,7 +8,7 @@
 #include "radosgw-admin/orphan.h"
 #include <string>
 
-
+#include "common/Clock.h" // for ceph_clock_now()
 #include "common/config.h"
 #include "common/Formatter.h"
 #include "common/errno.h"
index 6bee5ff858cbfd6c7c66aae9662ee617176817bb..b62e936456a6b198c3c2da59ef34ba95b918a5b6 100644 (file)
 
 #pragma once
 
+#include <cstdint>
+#include <optional>
+#include <string>
+#include <vector>
+
+#include "include/encoding.h"
+
+namespace ceph { class Formatter; }
+
 struct compression_block {
   uint64_t old_ofs;
   uint64_t new_ofs;
index f18de129a5a54a89ec42484d10ece01b53f1579d..7bdb308af87ccc2ef700a129bbe8d9c141f65a69 100644 (file)
@@ -21,6 +21,7 @@
 #include "include/rados/buffer.h"
 #include "include/rados/librados.hpp"
 #include "svc_zone.h"
+#include "common/Clock.h" // for ceph_clock_now()
 #include "common/config.h"
 #include "common/Cond.h"
 #include "common/debug.h"
index e1a32263c6a9f90126a1e445bb2eb750f2166564..84492d35739243ede1641e98f348563f0c566d14 100644 (file)
@@ -13,6 +13,8 @@
  */
 
 #pragma once
+
+#include "common/Clock.h" // for ceph_clock_now()
 #include "common/dout.h"
 #include "rgw_dedup_utils.h"
 
index cc9ff48cdceb2717e0f226a547b8d97c4917c5cf..4ff4cdb9fc67ee685f8808c9b0f193c6b0edac68 100644 (file)
@@ -13,6 +13,7 @@
 #include "rgw_common.h"
 #include "rgw_http_client.h"
 #include "common/ceph_mutex.h"
+#include "common/Clock.h" // for ceph_clock_now()
 #include "global/global_init.h"
 
 
index eaae450c966a14cb02889a010cf91243faf200a2..661a368c3b241588e78bb9b8fb54dcc16fcd424d 100644 (file)
@@ -16,6 +16,7 @@
 
 #include "include/scope_guard.h"
 #include "include/function2.hpp"
+#include "common/Clock.h" // for ceph_clock_now()
 #include "common/Formatter.h"
 #include "common/containers.h"
 #include "common/split.h"
index e05d74bd724a39ad3e7fbcc7471642ce93d46d99..cb6aa5669757e4046dc33191a824f678223e5335 100644 (file)
@@ -4,6 +4,7 @@
 #pragma once
 
 #include <string>
+#include "include/encoding.h"
 #include "common/ceph_time.h"
 #include "common/iso_8601.h"
 #include "rgw_xml.h"
index 0a84f57d4712b54887e25501a0fbf287f7c631de..f81da824636423d25d4b67935531161d6089d6eb 100644 (file)
@@ -23,6 +23,7 @@
 #include <string>
 #include <fmt/format.h>
 
+#include "include/encoding.h"
 #include "include/types.h"
 #include "common/Formatter.h"
 
index e29637a72b9ec442eb2a8f1739cc49ff0eb698f2..d0255a000755912b976c095f8cf339513ebeba4c 100644 (file)
@@ -16,6 +16,7 @@
 
 #include "include/scope_guard.h"
 #include "include/function2.hpp"
+#include "common/Clock.h" // for ceph_clock_now()
 #include "common/Formatter.h"
 #include "common/containers.h"
 #include "common/split.h"
index 45c9356e2ee1198ee4369412a9b2ccf6ac33ea8f..438451430bd43523c6f3707aca264c834e4caa3d 100644 (file)
@@ -3,10 +3,13 @@
 
 #pragma once
 
+#include <cstdint>
 #include <string>
 #include <include/types.h>
 #include <map>
 
+#include "include/encoding.h"
+
 class RGWObjTags
 {
 public: