]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: add missing includes 61700/head
authorMax Kellermann <max.kellermann@ionos.com>
Sat, 26 Oct 2024 18:15:29 +0000 (20:15 +0200)
committerMax Kellermann <max.kellermann@ionos.com>
Fri, 7 Feb 2025 11:53:23 +0000 (12:53 +0100)
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
30 files changed:
src/rgw/driver/dbstore/common/dbstore.cc
src/rgw/driver/dbstore/dbstore_mgr.h
src/rgw/driver/dbstore/tests/dbstore_tests.cc
src/rgw/driver/posix/rgw_sal_posix.cc
src/rgw/driver/rados/cls_fifo_legacy.cc
src/rgw/driver/rados/rgw_data_sync.cc
src/rgw/driver/rados/rgw_datalog.cc
src/rgw/driver/rados/rgw_pubsub_push.cc
src/rgw/driver/rados/rgw_reshard.cc
src/rgw/radosgw-admin/radosgw-admin.cc
src/rgw/rgw_amqp.cc
src/rgw/rgw_asio_frontend.cc
src/rgw/rgw_auth_s3.cc
src/rgw/rgw_cache.h
src/rgw/rgw_common.cc
src/rgw/rgw_coroutine.cc
src/rgw/rgw_dmclock_scheduler_ctx.h
src/rgw/rgw_dmclock_sync_scheduler.cc
src/rgw/rgw_es_query.cc
src/rgw/rgw_kafka.cc
src/rgw/rgw_keystone.cc
src/rgw/rgw_period_pusher.h
src/rgw/rgw_policy_s3.cc
src/rgw/rgw_quota.cc
src/rgw/rgw_ratelimit.h
src/rgw/rgw_rest_sts.cc
src/rgw/rgw_swift_auth.cc
src/rgw/rgw_tools.cc
src/rgw/services/svc_notify.cc
src/rgw/services/svc_sys_obj_cache.h

index 8727d40eda65babc1bb4f4a401f58e65a0e0262d..ccd643c851b82d88742b560cec0c2110eb411b47 100644 (file)
@@ -2,6 +2,7 @@
 // vim: ts=8 sw=2 smarttab
 
 #include "dbstore.h"
+#include "log/Log.h"
 
 using namespace std;
 
index 77fc3aaf731fb8b6a85116a33b7328d4622d8abe..9e14ea19457f7dc78c073817db3d61093e52368d 100644 (file)
@@ -13,6 +13,7 @@
 
 #include "common/ceph_context.h"
 #include "common/dbstore.h"
+#include "log/Log.h"
 #include "sqlite/sqliteDB.h"
 
 using namespace rgw::store;
index 554c4d29382a5138e4652bd579d452bcd43448d3..9f47aee4e1239ea6bab304713eca0e5d95cb3e20 100644 (file)
@@ -7,6 +7,7 @@
 #include <dbstore.h>
 #include <sqliteDB.h>
 #include "rgw_common.h"
+#include "common/Clock.h" // for ceph_clock_now()
 
 using namespace std;
 using DB = rgw::store::DB;
index 129be22b63283f8d8c7dd09991e4b2d566243672..8879056bb20af95641f6b81de57e912ab92fac4e 100644 (file)
@@ -20,6 +20,7 @@
 #include <unistd.h>
 #include "rgw_multi.h"
 #include "include/scope_guard.h"
+#include "common/Clock.h" // for ceph_clock_now()
 #include "common/errno.h"
 
 #define dout_subsys ceph_subsys_rgw
index 7e614adae6766e9206925c26608852c8fd416d5b..aa67bf8a82034f35914c61b9d06da7e8d3ed0fe9 100644 (file)
@@ -27,6 +27,7 @@
 
 #include "common/async/yield_context.h"
 #include "common/random_string.h"
+#include "common/strtol.h" // for ceph::parse()
 
 #include "cls/fifo/cls_fifo_types.h"
 #include "cls/fifo/cls_fifo_ops.h"
index 1302f278f590d2de69222270449f8d73df096a1c..177d07d37e45556c6147d1d8619eb1d0b32d8c16 100644 (file)
@@ -1,6 +1,8 @@
 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
 // vim: ts=8 sw=2 smarttab ft=cpp
 
+#include "rgw_data_sync.h"
+
 #include "common/ceph_json.h"
 #include "common/RefCountedObj.h"
 #include "common/WorkQueue.h"
@@ -10,7 +12,6 @@
 #include "rgw_common.h"
 #include "rgw_zone.h"
 #include "rgw_sync.h"
-#include "rgw_data_sync.h"
 #include "rgw_rest_conn.h"
 #include "rgw_cr_rados.h"
 #include "rgw_cr_rest.h"
 
 #include "include/common_fwd.h"
 #include "include/random.h"
+#include "include/timegm.h"
 
 #include <boost/asio/yield.hpp>
+#include <shared_mutex> // for std::shared_lock
 #include <string_view>
 
 #define dout_subsys ceph_subsys_rgw
index d7e57d7e1c15d933ac396c32b35e46215d23f08b..8b384da0f8ee56fec5eb04d7c650e8db43a06ef3 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 <shared_mutex> // for std::shared_lock
 #include <vector>
 
 #include "common/async/yield_context.h"
index d22c61e9b08578e8f732571b23e670528eaebf24..3041e3a932cf6b33585988cdc5e1b501d1021414 100644 (file)
@@ -2,6 +2,7 @@
 // vim: ts=8 sw=2 smarttab ft=cpp
 
 #include "rgw_pubsub_push.h"
+#include <shared_mutex> // for std::shared_lock
 #include <string>
 #include <sstream>
 #include <algorithm>
index 23a7f5f02addfb44ab7e3abbfd3122e2423b1186..ac06f76143bb97c524c0bd81b955876bedfb04d6 100644 (file)
@@ -13,6 +13,7 @@
 #include "rgw_sal_rados.h"
 #include "cls/rgw/cls_rgw_client.h"
 #include "cls/lock/cls_lock_client.h"
+#include "common/Clock.h" // for ceph_clock_now()
 #include "common/errno.h"
 #include "common/ceph_json.h"
 
index 2c14e61506ab3d620034e8cc7bba71874a4d13b7..8e995206e9b8e32092d85047aeb49923714b9a1b 100644 (file)
@@ -85,6 +85,8 @@ extern "C" {
 #include "driver/rados/rgw_bucket.h"
 #include "driver/rados/rgw_sal_rados.h"
 
+#include <iomanip>
+
 #define dout_context g_ceph_context
 
 static rgw::sal::Driver* driver = NULL;
index 5bc5d173c73a246918e6143aab70f02cdb0cb000..06688fdacc917bc49d93394b438eefae122e3f03 100644 (file)
 #include <thread>
 #include <atomic>
 #include <mutex>
+#include <shared_mutex> // for std::shared_lock
 #include <boost/lockfree/queue.hpp>
 #include <boost/functional/hash.hpp>
+#include "common/Clock.h" // for ceph_clock_now()
 #include "common/dout.h"
 #include <openssl/ssl.h>
 
index 2330eb41fdec672df05dab7ae789b1b8c454b577..a76aebccfd06e12681c9241c35593576127dd67d 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <atomic>
 #include <ctime>
+#include <iomanip>
 #include <list>
 #include <memory>
 
index 5f2d400b188b1836e0874b93d45a6fed83fec3c7..17bbe2b8a3c3782d25a1c460e6d4d2ec2b8e95d2 100644 (file)
@@ -12,6 +12,7 @@
 #include "common/armor.h"
 #include "common/utf8.h"
 #include "common/split.h"
+#include "include/timegm.h"
 #include "rgw_rest_s3.h"
 #include "rgw_auth_s3.h"
 #include "rgw_common.h"
index e70beb0644620357740b7ce346698ca1261a35dd..1ada720203d54b132d2e1c4936795ad748e11bb5 100644 (file)
@@ -3,6 +3,7 @@
 
 #pragma once
 
+#include <shared_mutex> // for std::shared_lock
 #include <string>
 #include <map>
 #include <unordered_map>
index 5140ed4e9cf8028ad66593ec8ab57a1f8aca66f6..77ed3bbc9d0803ec27cb419293b8f131954d8041 100644 (file)
@@ -28,6 +28,7 @@
 #include "common/convenience.h"
 #include "common/strtol.h"
 #include "include/str_list.h"
+#include "include/timegm.h"
 #include "rgw_crypt_sanitize.h"
 #include "rgw_bucket_sync.h"
 #include "rgw_sync_policy.h"
index 3b789b8b8591e322c9bb85adf82378b043920986..3fbc9b601b005ba4e470ca1196b6e7f430956215 100644 (file)
@@ -3,6 +3,7 @@
 
 #include "include/Context.h"
 #include "common/ceph_json.h"
+#include "common/Clock.h" // for ceph_clock_now()
 #include "rgw_coroutine.h"
 #include "rgw_asio_thread.h"
 
@@ -11,6 +12,8 @@
 
 #include <boost/asio/yield.hpp>
 
+#include <shared_mutex> // for std::shared_lock
+
 #define dout_subsys ceph_subsys_rgw
 #define dout_context g_ceph_context
 
index f27b81c266e55f642239ee7b0a20e25b3f72b079..031c5a0888110bc3f5c669f92d927777f1948af0 100644 (file)
@@ -8,6 +8,12 @@
 #include "common/config.h"
 #include "rgw_dmclock.h"
 
+#if defined(WITH_SEASTAR) && !defined(WITH_ALIEN)
+#include "crimson/common/perf_counters_collection.h"
+#else
+#include "common/perf_counters_collection.h"
+#endif
+
 namespace queue_counters {
 
   enum {
index 06857202f3121b0c8a0ec5d60368cd73e33f5291..918b70ffc3973c4992d9fb797e1a3dc9308c5d53 100644 (file)
@@ -5,6 +5,12 @@
 #include "rgw_dmclock_sync_scheduler.h"
 #include "rgw_dmclock_scheduler_ctx.h"
 
+#if defined(WITH_SEASTAR) && !defined(WITH_ALIEN)
+#include "crimson/common/perf_counters_collection.h"
+#else
+#include "common/perf_counters_collection.h"
+#endif
+
 namespace rgw::dmclock {
 
 SyncScheduler::~SyncScheduler()
index 16105d599c513894381b3bc4a6c46b22d54c0f10..93db0e2ec9dcb314a0dad009460f56ab37fc182f 100644 (file)
@@ -8,6 +8,7 @@
 #include <boost/algorithm/string.hpp>
 
 #include "common/ceph_json.h"
+#include "common/strtol.h"
 #include "rgw_common.h"
 #include "rgw_es_query.h"
 
index b38b1a78ec476521ddbd967317c65871b00ff82c..2b6822706b040d5bf67533445a257e69523087b2 100644 (file)
 #include <unordered_map>
 #include <string>
 #include <vector>
+#include <shared_mutex> // for std::shared_lock
 #include <thread>
 #include <atomic>
 #include <mutex>
 #include <boost/algorithm/string.hpp>
 #include <boost/functional/hash.hpp>
 #include <boost/lockfree/queue.hpp>
+#include "common/Clock.h" // for ceph_clock_now()
 #include "common/dout.h"
+#include "include/utime.h"
 
 #define dout_subsys ceph_subsys_rgw_notification
 
index 3b78b642cc78a75acffc3b74500fd7f0f7526c9d..2767cea06def163ce51b2792a769bad3ec24bc28 100644 (file)
@@ -10,6 +10,7 @@
 
 #include "common/errno.h"
 #include "common/ceph_json.h"
+#include "include/timegm.h"
 #include "include/types.h"
 #include "include/str_list.h"
 
index 3ea7bd7ddebe09b18b85b3895d1189780aa6f16a..c7c76e4dd5ed986fc98b17cf7c59a3123992124d 100644 (file)
@@ -8,6 +8,7 @@
 #include <vector>
 
 #include "common/async/yield_context.h"
+#include "include/types.h" // for epoch_t
 #include "rgw_realm_reloader.h"
 #include "rgw_sal_fwd.h"
 
index 1c183644b30afbe9f362b8242e20361b60b722ff..7b8ad0452cbc5618c39b1e4ea74e90a5a0276696 100644 (file)
@@ -1,10 +1,13 @@
 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
 // vim: ts=8 sw=2 smarttab ft=cpp
 
+#include "rgw_policy_s3.h"
+
 #include <errno.h>
 
 #include "common/ceph_json.h"
-#include "rgw_policy_s3.h"
+#include "common/Clock.h" // for ceph_clock_now()
+#include "include/timegm.h"
 #include "rgw_common.h"
 #include "rgw_crypt_sanitize.h"
 #include "rgw_cksum.h"
index 063557c8e7e491c9be23726f4717a6d2184481f9..70bded92ee06d5f73c7f9f207cd70def5fa90822 100644 (file)
@@ -16,6 +16,7 @@
 
 #include "include/function2.hpp"
 #include "include/utime.h"
+#include "common/Clock.h" // for ceph_clock_now()
 #include "common/lru_map.h"
 #include "common/RefCountedObj.h"
 #include "common/Thread.h"
index beb0eb3b1d2432cd21a4de6ac1640303e322b675..224312bb0d78fc74f41a1ab7434fdbb580bc148e 100644 (file)
@@ -1,5 +1,6 @@
 #pragma once
 #include <chrono>
+#include <shared_mutex> // for std::shared_lock
 #include <thread>
 #include <condition_variable>
 #include "rgw_common.h"
index 1101da0af3ccab96c75f4fb7f5c9e5878692b035..c0c6b5e89acd2c873f41b926ac896f93796ef9ff 100644 (file)
@@ -3,6 +3,7 @@
 #include <vector>
 #include <string>
 #include <array>
+#include <iomanip>
 #include <string_view>
 #include <sstream>
 #include <memory>
index 937f74601b3622624177667c21f1ee6ddbb5b395..febad481b51481657c41c131682e73e9368769a6 100644 (file)
@@ -16,6 +16,7 @@
 #include "common/Clock.h"
 
 #include "include/random.h"
+#include "include/timegm.h"
 
 #include "rgw_client_io.h"
 #include "rgw_http_client.h"
index 7e6513cde4dda338326a82be7fb56669be84bb3a..220992a92f46c8ceaa630d4e220e0aeb100574fb 100644 (file)
@@ -4,6 +4,7 @@
 #include <errno.h>
 
 #include "common/errno.h"
+#include "common/safe_io.h" // for safe_read()
 
 #include "rgw_tools.h"
 
index 5593dee9ae291f0d124cbe10037eaa58388006a6..1ad6059a9621566783b02fe3b143520bb549377d 100644 (file)
@@ -12,6 +12,8 @@
 
 #include "rgw_zone.h"
 
+#include <shared_mutex> // for std::shared_lock
+
 #define dout_subsys ceph_subsys_rgw
 
 using namespace std;
index 8e2f5845dc12f4a550c7137253160c08594fab2a..9d0b14c51301c8019b8e85fa885810559bed1bb0 100644 (file)
@@ -9,6 +9,8 @@
 
 #include "svc_sys_obj_core.h"
 
+#include <shared_mutex> // for std::shared_lock
+
 class RGWSI_Notify;
 
 class RGWSI_SysObj_Cache_CB;