* Foundation. See file COPYING.
*
*/
-#include <string>
#include "common/Mutex.h"
#include "common/perf_counters.h"
-#include "common/ceph_context.h"
#include "common/config.h"
-#include "include/stringify.h"
-#include "include/utime.h"
#include "common/Clock.h"
#include "common/valgrind.h"
*
*/
-#include "include/int_types.h"
-
-#include "common/Thread.h"
#include "common/OutputDataSocket.h"
-#include "common/config.h"
-#include "common/dout.h"
#include "common/errno.h"
-#include "common/perf_counters.h"
#include "common/pipe.h"
#include "common/safe_io.h"
-#include "common/version.h"
-#include "common/Formatter.h"
+#include "include/compat.h"
-#include <errno.h>
-#include <fcntl.h>
-#include <map>
#include <poll.h>
-#include <set>
-#include <sstream>
-#include <stdint.h>
-#include <string.h>
-#include <string>
-#include <sys/socket.h>
-#include <sys/types.h>
#include <sys/un.h>
-#include <unistd.h>
-
-#include "include/compat.h"
#define dout_subsys ceph_subsys_asok
#undef dout_prefix
#ifndef CEPH_COMMON_OUTPUTDATASOCKET_H
#define CEPH_COMMON_OUTPUTDATASOCKET_H
-#include "common/Thread.h"
-#include "common/Mutex.h"
#include "common/Cond.h"
-#include <string>
-#include <map>
-#include <list>
-#include "include/buffer.h"
-
class CephContext;
class OutputDataSocket : public Thread
*
*/
-#include <errno.h>
-#include <dlfcn.h>
-
#include "PluginRegistry.h"
#include "ceph_ver.h"
-#include "common/ceph_context.h"
#include "common/errno.h"
-#include "include/str_list.h"
-
#include "common/debug.h"
+#include <dlfcn.h>
+
#define PLUGIN_PREFIX "libceph_"
#define PLUGIN_SUFFIX ".so"
#define PLUGIN_INIT_FUNCTION "__ceph_plugin_init"
#ifndef CEPH_COMMON_PLUGINREGISTRY_H
#define CEPH_COMMON_PLUGINREGISTRY_H
-#include <string>
-#include <map>
-
#include "common/Mutex.h"
class CephContext;
#ifndef CEPH_COMMON_PREBUFFEREDSTREAMBUF_H
#define CEPH_COMMON_PREBUFFEREDSTREAMBUF_H
-#include <string>
#include <streambuf>
/**
#ifndef CEPH_COMMON_PREFORKER_H
#define CEPH_COMMON_PREFORKER_H
-#include "acconfig.h"
-#include <sys/types.h>
#include <sys/socket.h>
#include <sys/wait.h>
-#include <errno.h>
-#include <stdlib.h>
#include <unistd.h>
#include <sstream>
-#include <string>
#include "include/assert.h"
#include "common/safe_io.h"
#include "common/Formatter.h"
#include "common/OpQueue.h"
-#include <map>
-#include <list>
-
/**
* Manages queue for normal and strict priority items
*
#include "common/Mutex.h"
#include "common/Cond.h"
-#include "include/atomic.h"
-#include "common/ceph_context.h"
#include "common/valgrind.h"
-#include <atomic>
-
// re-include our assert to clobber the system one; fix dout:
#include "include/assert.h"
#include "include/encoding.h"
#include "common/Formatter.h"
-#include <list>
-#include <map>
-#include <ostream>
-
/**
* SloppyCRCMap
*
* Foundation. See file COPYING.
*
*/
-#include <string>
-
-#include <boost/uuid/uuid.hpp>
-#include <boost/uuid/uuid_generators.hpp>
-#include <boost/uuid/uuid_io.hpp>
#include "common/mutex_debug.h"
#include "common/perf_counters.h"
#include "common/ceph_context.h"
#include "common/config.h"
-#include "include/stringify.h"
namespace ceph {
namespace mutex_debug_detail {
#include "common/Cond.h"
#include "obj_bencher.h"
-#include <iostream>
-#include <fstream>
-
-#include <cerrno>
-
-#include <stdlib.h>
-#include <time.h>
-#include <sstream>
-#include <vector>
-
const std::string BENCH_LASTRUN_METADATA = "benchmark_last_metadata";
const std::string BENCH_PREFIX = "benchmark_data";
static char cached_hostname[30] = {0};
#ifndef CEPH_OBJ_BENCHER_H
#define CEPH_OBJ_BENCHER_H
-#include "common/config.h"
-#include "common/Cond.h"
#include "common/ceph_context.h"
#include "common/Formatter.h"
#include <cfloat>
*
*/
-#include "include/int_types.h"
-
#include "common/perf_counters.h"
#include "common/dout.h"
-#include "common/errno.h"
-#include "common/Formatter.h"
#include "common/valgrind.h"
-#include <errno.h>
-#include <map>
-#include <sstream>
-#include <stdint.h>
-#include <string.h>
-#include <string>
-
using std::ostringstream;
PerfCountersCollection::PerfCountersCollection(CephContext *cct)
#ifndef CEPH_COMMON_PERF_COUNTERS_H
#define CEPH_COMMON_PERF_COUNTERS_H
-#include "common/config_obs.h"
#include "common/perf_histogram.h"
-#include "common/Mutex.h"
#include "include/utime.h"
-
-#include "common/config_obs.h"
#include "common/Mutex.h"
-#include "common/ceph_time.h"
-
-#include <stdint.h>
-#include <string>
-#include <vector>
-#include <memory>
class CephContext;
class PerfCountersBuilder;
*/
#include "common/pick_address.h"
-
-#include <netdb.h>
-#include <errno.h>
-#include <ifaddrs.h>
-
#include "include/ipaddr.h"
#include "include/str_list.h"
#include "common/debug.h"
#include "common/errno.h"
+#include <netdb.h>
+
#define dout_subsys ceph_subsys_
static const struct sockaddr *find_ip_in_subnet_list(CephContext *cct,
* Foundation. See file COPYING.
*
*/
-#include "acconfig.h"
-
-#include "common/pipe.h"
#include "include/compat.h"
#include <errno.h>
#include <fcntl.h>
-#include <limits.h>
-#include <stdint.h>
#include <unistd.h>
int pipe_cloexec(int pipefd[2])
#include "common/errno.h"
-#include <errno.h>
#include <sstream>
#include <stdarg.h>
-#include <stdlib.h>
#include <sys/wait.h>
#include <unistd.h>
#include <vector>
*
*/
+#include "common/safe_io.h"
+#include "include/compat.h"
+
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <limits.h>
-#include "common/safe_io.h"
-#include "include/compat.h"
-
ssize_t safe_read(int fd, void *buf, size_t count)
{
size_t cnt = 0;
#ifndef CEPH_SAFE_IO
#define CEPH_SAFE_IO
-#include "acconfig.h"
#include "common/compiler_extensions.h"
#include <sys/types.h>
#ifndef CEPH_SCRUB_TYPES_H
#define CEPH_SCRUB_TYPES_H
-#include "include/rados/rados_types.hpp"
-#include "common/hobject.h"
#include "osd/osd_types.h"
-
// wrappers around scrub types to offer the necessary bits other than
// the minimal set that the lirados requires
struct object_id_wrapper : public librados::object_id_t {
#include <map>
#include <list>
-#include <memory>
-#include <utility>
#include "common/Mutex.h"
#include "common/Cond.h"
#include "include/unordered_map.h"
#ifndef CEPH_SIMPLECACHE_H
#define CEPH_SIMPLECACHE_H
-#include <map>
-#include <list>
-#include <memory>
#include "common/Mutex.h"
-#include "common/Cond.h"
#include "include/unordered_map.h"
template <class K, class V, class C = std::less<K>, class H = std::hash<K> >
*
*/
-#include <errno.h>
#include "include/types.h"
#ifndef SSTRING_HH_
#define SSTRING_HH_
-#include <stdint.h>
-#include <algorithm>
-#include <string>
-#include <cstring>
-#include <stdexcept>
-#include <initializer_list>
-#include <iostream>
-#include <functional>
-#include <cstdio>
#include <type_traits>
#include <boost/utility/string_ref.hpp>
#ifndef CEPH_EXTATTR_H
#define CEPH_EXTATTR_H
-#include <sys/types.h>
-#include <errno.h>
#ifdef __cplusplus
extern "C" {