#include "common/config.h"
#include "common/ceph_argparse.h"
#include "global/global_init.h"
+#include "log/Log.h"
#define dout_context g_ceph_context
#include "msg/Messenger.h"
#include "mon/MonClient.h"
#include "osdc/ObjectCacher.h"
+#include "osdc/Objecter.h"
#include "client/MetaRequest.h"
#include "client/Client.h"
#include "messages/MClientReclaim.h"
#include "common/dout.h"
#include "common/errno.h"
#include "common/random_string.h"
+#include "include/random.h" // for ceph::util::generate_random_number()
#include "global/global_context.h"
#include "test/librados/test_cxx.h"
#include "common/async/shared_mutex.h"
#include <future>
#include <optional>
+#include <shared_mutex> // for std::shared_lock
#include <boost/asio/bind_executor.hpp>
#include <boost/asio/io_context.hpp>
#include <gtest/gtest.h>
#include "crimson/net/Messenger.h"
#include "test/crimson/ctest_utils.h"
+#include <boost/random/uniform_int.hpp>
+
using namespace std::chrono_literals;
namespace bpo = boost::program_options;
using crimson::common::local_conf;
#include "common/ceph_argparse.h"
#include "crimson/common/auth_handler.h"
#include "crimson/common/config_proxy.h"
+#include "crimson/common/perf_counters_collection.h"
#include "crimson/mon/MonClient.h"
#include "crimson/net/Connection.h"
#include "crimson/net/Messenger.h"
#include "os/ObjectStore.h"
#include "global/global_init.h"
+#include "common/debug.h"
#include "common/errno.h"
#include "include/intarith.h"
#include "include/stringify.h"
#include "include/ceph_assert.h" // fio.h clobbers our assert.h
#include <algorithm>
+#if defined(WITH_SEASTAR) && !defined(WITH_ALIEN)
+#include "crimson/common/perf_counters_collection.h"
+#else
+#include "common/perf_counters_collection.h"
+#endif
+
#define dout_context g_ceph_context
#define dout_subsys ceph_subsys_
#include "gtest/gtest.h"
#include "include/Context.h"
+#include "include/unordered_set.h"
#include "global/global_init.h"
#include "global/global_context.h"
#include "tools/immutable_object_cache/CacheClient.h"
#include "tools/immutable_object_cache/CacheServer.h"
+using ceph::unordered_set;
using namespace ceph::immutable_obj_cache;
class TestCommunication :public ::testing::Test {
#include <errno.h>
#include <fcntl.h>
+#include <deque>
#include <sstream>
#include <string>
#include <utility>
#include "include/scope_guard.h"
#include "include/stringify.h"
#include "common/Checksummer.h"
+#include "common/Clock.h" // for ceph_clock_now()
+#include "common/config_proxy.h" // for class ConfigProxy
#include "global/global_context.h"
#include "test/librados/test.h"
#include "test/librados/TestCase.h"
#include "include/scope_guard.h"
#include "include/stringify.h"
#include "common/Checksummer.h"
+#include "common/config_proxy.h" // for class ConfigProxy
#include "mds/mdstypes.h"
#include "global/global_context.h"
#include "test/librados/testcase_cxx.h"
// vim: ts=8 sw=2 smarttab
#include "common/Formatter.h"
+#include "include/ceph_assert.h"
#include "include/stringify.h"
#include "json_spirit/json_spirit.h"
#include "test_common.h"
#include "common/Clock.h"
#include "include/err.h"
#include <functional>
+#include <shared_mutex> // for std::shared_lock
#include <boost/algorithm/string/predicate.hpp>
#include <errno.h>
#include <include/compat.h>
#include "test/librados_test_stub/TestMemCluster.h"
#include "test/librados_test_stub/TestMemIoCtxImpl.h"
#include <errno.h>
+#include <shared_mutex> // for std::shared_lock
#include <sstream>
namespace librados {
#include "include/rados/librados.hpp"
#include "include/rbd/librbd.h"
#include "include/rbd/librbd.hpp"
+#include "include/rbd_types.h" // for RBD_DATA_PREFIX
#include "common/Cond.h"
#include "common/SubProcess.h"
#include "common/safe_io.h"
#include "librbd/io/ObjectDispatchSpec.h"
#include "librbd/io/Utils.h"
+#include <shared_mutex> // for std::shared_lock
+
namespace librbd {
namespace {
#include "librbd/io/ReadResult.h"
#include "librbd/journal/Types.h"
+#include <shared_mutex> // for std::shared_lock
+
void register_test_journal_replay() {
}
#include "librbd/Utils.h"
#include "gmock/gmock.h"
+#include <boost/optional/optional_io.hpp>
+
namespace librbd {
struct MockObjectMap {
#include "gmock/gmock.h"
#include "gtest/gtest.h"
+#include <shared_mutex> // for std::shared_lock
+
namespace librbd {
namespace object_map {
#include "gmock/gmock.h"
#include "gtest/gtest.h"
+#include <shared_mutex> // for std::shared_lock
+
namespace librbd {
namespace object_map {
#include "gmock/gmock.h"
#include "gtest/gtest.h"
+#include <shared_mutex> // for std::shared_lock
+
namespace librbd {
namespace object_map {
#include "gmock/gmock.h"
#include "gtest/gtest.h"
+#include <shared_mutex> // for std::shared_lock
+
namespace librbd {
namespace object_map {
#include "gmock/gmock.h"
#include "gtest/gtest.h"
+#include <shared_mutex> // for std::shared_lock
+
namespace librbd {
namespace object_map {
#include "gmock/gmock.h"
#include "gtest/gtest.h"
+#include <shared_mutex> // for std::shared_lock
+
namespace librbd {
namespace {
#include "gmock/gmock.h"
#include "gtest/gtest.h"
+#include <shared_mutex> // for std::shared_lock
+
namespace librbd {
namespace {
#include "librbd/AsyncRequest.h"
#include "librbd/operation/Request.h"
+#include <shared_mutex> // for std::shared_lock
+
namespace librbd {
namespace {
#include "gmock/gmock.h"
#include "gtest/gtest.h"
+#include <shared_mutex> // for std::shared_lock
+
namespace librbd {
namespace util {
#include "gmock/gmock.h"
#include "gtest/gtest.h"
+#include <shared_mutex> // for std::shared_lock
+
namespace librbd {
namespace mirror {
namespace snapshot {
// template definitions
#include "librbd/operation/SnapshotProtectRequest.cc"
+#include <shared_mutex> // for std::shared_lock
+
namespace librbd {
namespace operation {
#include "gmock/gmock.h"
#include "gtest/gtest.h"
+#include <shared_mutex> // for std::shared_lock
+
namespace librbd {
namespace image {
#include "gmock/gmock.h"
#include "gtest/gtest.h"
+#include <shared_mutex> // for std::shared_lock
+
namespace librbd {
namespace {
// template definitions
#include "librbd/operation/SnapshotUnprotectRequest.cc"
+#include <shared_mutex> // for std::shared_lock
+
namespace librbd {
namespace operation {
#include "gtest/gtest.h"
#include <boost/variant.hpp>
+#include <shared_mutex> // for std::shared_lock
+
namespace librbd {
namespace {
#include "librbd/io/ReadResult.h"
#include "test/librados/crimson_utils.h"
+#include <shared_mutex> // for std::shared_lock
+
void register_test_deep_copy() {
}
#include <iostream>
#include <map>
#include <set>
+#include <shared_mutex> // for std::shared_lock
#include <sstream>
#include <vector>
#include "common/Cond.h"
#include <boost/scope_exit.hpp>
+#include <shared_mutex> // for std::shared_lock
+
void register_test_migration() {
}
#include <boost/accumulators/statistics/stats.hpp>
#include <boost/accumulators/statistics/rolling_sum.hpp>
+#include <shared_mutex> // for std::shared_lock
+
void register_test_object_map() {
}
#include "test/librados/test.h"
#include "test/librados/test_cxx.h"
#include <iostream>
+#include <shared_mutex> // for std::shared_lock
#include <sstream>
#include <stdlib.h>
#include <boost/scope_exit.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/assign/list_of.hpp>
+#include <shared_mutex> // for std::shared_lock
#include <utility>
#include <vector>
#include "test/librados/crimson_utils.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <list>
+#include <shared_mutex> // for std::shared_lock
#include <boost/scope_exit.hpp>
namespace librbd {
#include "test/librbd/mock/io/MockObjectDispatch.h"
#include "common/Cond.h"
#include "common/ceph_mutex.h"
+#include "common/debug.h"
#include "common/WorkQueue.h"
#include "cls/journal/cls_journal_types.h"
#include "journal/Journaler.h"
#include "gtest/gtest.h"
#include <functional>
#include <list>
+#include <shared_mutex> // for std::shared_lock
#include <boost/scope_exit.hpp>
#define dout_context g_ceph_context
#include "librbd/object_map/UpdateRequest.h"
#include <boost/scope_exit.hpp>
+#include <shared_mutex> // for std::shared_lock
+
namespace librbd {
namespace {
#include "mon/PGMap.h"
#include "gtest/gtest.h"
+#include "common/TextTable.h"
#include "include/stringify.h"
using namespace std;
#include <initializer_list>
#include <memory>
#include <string_view>
+#include <unordered_set>
#include <utility>
#include <boost/asio/use_awaitable.hpp>
#include <xxHash/xxhash.h>
#include "include/neorados/RADOS.hpp"
+#include "include/rbd/features.h" // for RBD_FEATURES_ALL
#include "osd/error_code.h"
#include "include/Context.h"
#include "os/bluestore/Allocator.h"
+#include <boost/random/mersenne_twister.hpp>
#include <boost/random/uniform_int.hpp>
typedef boost::mt11213b gen_type;
* Author: Ramesh Chander, Ramesh.Chander@sandisk.com
*/
#include <iostream>
+#include <boost/random/mersenne_twister.hpp> // for boost::mt11213b
#include <boost/scoped_ptr.hpp>
#include <gtest/gtest.h>
#include "common/ceph_argparse.h"
#include "common/ceph_mutex.h"
#include "common/common_init.h"
+#include "common/debug.h"
#include "common/hobject.h"
#include "global/global_context.h"
#include "os/ObjectStore.h"
#include "test/objectstore/ObjectStoreImitator.h"
#include <fstream>
+#include <boost/random/mersenne_twister.hpp> // for boost::mt11213b
#include <boost/random/uniform_int.hpp>
#include <fmt/core.h>
#include <mutex>
*/
#include "test/objectstore/ObjectStoreImitator.h"
#include "common/Clock.h"
+#include "common/debug.h"
#include "common/Finisher.h"
#include "common/errno.h"
#include "include/ceph_assert.h"
#include "os/bluestore/bluestore_types.h"
#include <algorithm>
#include <cmath>
+#include <shared_mutex> // for std::shared_lock
#define dout_context g_ceph_context
#define dout_subsys ceph_subsys_test
#include "global/global_init.h"
#include "common/ceph_mutex.h"
#include "common/Cond.h"
+#include "common/debug.h"
#include "common/errno.h"
#include "common/options.h" // for the size literals
#include "common/pretty_binary.h"
#include "os/ObjectStore.h"
#include <gtest/gtest.h>
#include "include/ceph_assert.h"
+#include "common/debug.h"
#include "common/errno.h"
#include "store_test_fixture.h"
#include "global/global_init.h"
+#include "common/debug.h"
#include "common/strtol.h"
#include "common/ceph_argparse.h"
#include "common/debug.h"
#include "common/dout.h"
#include "common/split.h"
+#include "common/strtol.h" // for strict_iecstrtoll()
#include "common/io_exerciser/DataGenerator.h"
#include "common/io_exerciser/Model.h"
#include "librados/librados_asio.h"
+#include <boost/asio/io_context.hpp>
#include <boost/program_options.hpp>
/* Overview
void list_sequence();
};
}
-}
\ No newline at end of file
+}
#include <gtest/gtest.h>
#include "osd/PGTransaction.h"
#include "osd/ECTransaction.h"
+#include "common/debug.h"
#include "test/unit.cc"
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab
+#include "MemWriteback.h"
+
#include <errno.h>
#include <time.h>
#include "common/ceph_mutex.h"
#include "include/ceph_assert.h"
#include "common/ceph_time.h"
-
-#include "MemWriteback.h"
+#include "common/snap_types.h" // for class SnapContext
#define dout_context g_ceph_context
#define dout_subsys ceph_subsys_objectcacher
#include "test/librados/test_cxx.h"
#include "gtest/gtest.h"
+#include <shared_mutex> // for std::shared_lock
+
void register_test_rbd_mirror() {
}
#include "tools/rbd_mirror/Throttler.h"
#include "tools/rbd_mirror/image_replayer/journal/StateBuilder.h"
+#include <shared_mutex> // for std::shared_lock
+
void register_test_image_sync() {
}
#include <fmt/format.h>
+#include "common/Clock.h" // for ceph_clock_now()
#include "include/types.h"
#include "include/rados/librados.hpp"
#include "global/signal_handler.h"
#include "common/debug.h"
#include "include/coredumpctl.h"
+#include "log/Log.h"
#include "gtest/gtest.h"
#include "include/denc.h"
+#include <boost/container/flat_map.hpp>
+#include <boost/container/flat_set.hpp>
+#include <boost/optional.hpp>
+
using namespace std;
// test helpers