Merge pull request #68790 from MaxKellermann/crimson__missing_includes

crimson: add missing includes

Reviewed-by: Kefu Chai <k.chai@proxmox.com>
This commit is contained in:
Kefu Chai 2026-05-08 15:09:19 +08:00 committed by GitHub
commit 5eb650394b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 12 additions and 0 deletions

View File

@ -14,10 +14,12 @@
#include <seastar/core/thread.hh>
#include <seastar/util/std-compat.hh>
#include "common/errno.h" // for cpp_strerror()
#include "common/options.h"
#include "common/version.h"
#include "messages/MCommand.h"
#include "messages/MCommandReply.h"
#include "crimson/common/config_proxy.h" // for local_conf()
#include "crimson/common/log.h"
#include "crimson/net/Socket.h"
#include "crimson/net/Connection.h"

View File

@ -9,6 +9,7 @@
#include <utility>
#include <fmt/format.h>
#include <json_spirit/json_spirit.h>
#include <seastar/core/future.hh>
#include "crimson/admin/admin_socket.h"

View File

@ -6,6 +6,7 @@
#include <seastar/core/sleep.hh>
#include <seastar/util/defer.hh>
#include "crimson/common/config_proxy.h" // for local_conf()
#include "crimson/common/log.h"
#include "crimson/net/Connection.h"
#include "crimson/net/Messenger.h"

View File

@ -7,6 +7,7 @@
#include "msg/async/crypto_onwire.h"
#include "msg/async/compression_onwire.h"
#include "crimson/common/config_proxy.h" // for local_conf()
#include "crimson/common/gated.h"
#include "crimson/net/Socket.h"

View File

@ -7,6 +7,7 @@
#include <seastar/core/when_all.hh>
#include <seastar/net/packet.hh>
#include "crimson/common/config_proxy.h" // for local_conf()
#include "crimson/common/log.h"
#include "include/random.h" // for ceph::util::generate_random_number()
#include "Errors.h"

View File

@ -23,6 +23,7 @@
#include <fmt/std.h>
#include "auth/Auth.h"
#include "crimson/common/config_proxy.h" // for local_conf()
#include "Errors.h"
#include "Socket.h"

View File

@ -10,6 +10,7 @@
#include <boost/range/algorithm/copy.hpp>
#include <fmt/format.h>
#include <fmt/ostream.h>
#include "include/err.h" // for MAX_ERRNO
#include "include/utime_fmt.h"
#include <seastar/core/print.hh>

View File

@ -18,6 +18,7 @@
#include <functional>
#include "crimson/osd/scheduler/mclock_scheduler.h"
#include "common/debug.h"
#include "common/dout.h"
#define dout_context cct

View File

@ -13,6 +13,8 @@
#include "crimson/os/seastore/seastore.h"
#include "crimson/os/seastore/onode.h"
#include "common/strtol.h" // for ritoa()
using namespace crimson;
using namespace crimson::os;
using namespace crimson::os::seastore;

View File

@ -4,6 +4,7 @@
#include "messages/MPing.h"
#include "common/ceph_argparse.h"
#include "crimson/auth/DummyAuth.h"
#include "crimson/common/config_proxy.h" // for local_conf()
#include "crimson/common/throttle.h"
#include "crimson/net/Connection.h"
#include "crimson/net/Dispatcher.h"