// vim: ts=8 sw=2 smarttab
#include "common/AsyncOpTracker.h"
-#include "include/assert.h"
#include "include/Context.h"
AsyncOpTracker::AsyncOpTracker()
#ifndef CEPH_ASYNC_OP_TRACKER_H
#define CEPH_ASYNC_OP_TRACKER_H
-#include "include/int_types.h"
#include "common/Mutex.h"
struct Context;
#ifndef ASYNC_RESERVER_H
#define ASYNC_RESERVER_H
-#include <map>
-#include <utility>
-#include <list>
-
-#include "common/Mutex.h"
#include "common/Finisher.h"
#include "common/Formatter.h"
-
#include <ostream>
#include <cxxabi.h>
-#include <stdlib.h>
#include <string.h>
#include "BackTrace.h"
-
#include "common/version.h"
#define _STR(x) #x
#ifndef CEPH_OS_BLUESTORE_CHECKSUMMER
#define CEPH_OS_BLUESTORE_CHECKSUMMER
-#include "include/buffer.h"
#include "xxHash/xxhash.h"
class Checksummer {
#include "common/Clock.h"
-#include "common/ceph_context.h"
-#include "common/config.h"
-#include "include/utime.h"
-
-#include <time.h>
utime_t ceph_clock_now()
{
* Author: matt
*/
-#include <sys/types.h>
-#include <sys/socket.h>
#include <netdb.h>
-#include <iostream>
-#include <string>
-
-using namespace std;
-
-#include "common/config.h"
-#include "boost/regex.hpp"
-
#include "common/address_helper.h"
+#include "boost/regex.hpp"
-#include <arpa/inet.h>
+using namespace std;
// decode strings like "tcp://<host>:<port>"
int entity_addr_from_url(entity_addr_t *addr /* out */, const char *url)
*
*/
-#include "include/int_types.h"
-
-#include "common/Thread.h"
#include "common/admin_socket.h"
#include "common/admin_socket_client.h"
-#include "common/config.h"
-#include "common/cmdparse.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_ADMIN_SOCKET_H
#define CEPH_COMMON_ADMIN_SOCKET_H
-#include "common/Thread.h"
-#include "common/Mutex.h"
-
-#include <string>
-#include <map>
-#include "include/buffer_fwd.h"
-#include "common/cmdparse.h"
#include "common/Cond.h"
class AdminSocket;
*
*/
-#include "include/int_types.h"
-
#include "common/admin_socket.h"
-#include "common/ceph_context.h"
#include "common/errno.h"
#include "common/safe_io.h"
#include "common/admin_socket_client.h"
-#include <arpa/inet.h>
-#include <errno.h>
-#include <fcntl.h>
-#include <map>
-#include <poll.h>
-#include <sstream>
-#include <stdint.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <string>
-#include <sys/socket.h>
-#include <sys/types.h>
#include <sys/un.h>
-#include <time.h>
-#include <unistd.h>
-#include <vector>
using std::ostringstream;
#ifndef CEPH_COMMON_ADMIN_SOCKET_CLIENT_H
#define CEPH_COMMON_ADMIN_SOCKET_CLIENT_H
-#include <stdint.h>
#include <string>
/* This is a simple client that talks to an AdminSocket using blocking I/O.
*
*/
-#include "BackTrace.h"
-#include "common/ceph_context.h"
-#include "common/config.h"
#include "common/debug.h"
-#include "common/Clock.h"
-#include "include/assert.h"
-
-#include <errno.h>
-#include <iostream>
-#include <pthread.h>
-#include <sstream>
-#include <time.h>
namespace ceph {
static CephContext *g_assert_context = NULL;
#include "common/bit_str.h"
#include "common/Formatter.h"
#include "include/assert.h"
-#include "common/debug.h"
static void _dump_bit_str(
uint64_t bits,
#ifndef CEPH_COMMON_BIT_STR_H
#define CEPH_COMMON_BIT_STR_H
-#include <ostream>
#include <functional>
-#include <stdint.h>
namespace ceph {
class Formatter;
#include "common/Formatter.h"
#include "include/assert.h"
-#include "include/buffer.h"
#include "include/encoding.h"
-#include <stdint.h>
-#include <cmath>
-#include <list>
-#include <vector>
-#include <boost/static_assert.hpp>
namespace ceph {
* Foundation. See file COPYING.
*
*/
+
#include <errno.h>
-#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
-#include <stdio.h>
-#include <string.h>
-#include <ctype.h>
#include <dirent.h>
-#include <stdlib.h>
#include "include/uuid.h"
#ifdef __linux__
// vim: ts=8 sw=2 smarttab
#include "common/bloom_filter.hpp"
-#include "common/Formatter.h"
-#include "include/buffer.h"
MEMPOOL_DEFINE_FACTORY(unsigned char, byte, bloom_filter);
#ifndef COMMON_BLOOM_FILTER_HPP
#define COMMON_BLOOM_FILTER_HPP
-#include <cstddef>
-#include <algorithm>
#include <cmath>
-#include <limits>
-#include <list>
-#include <string>
-#include <vector>
#include "include/mempool.h"
#include "include/encoding.h"
#include "common/likely.h"
#include "common/valgrind.h"
#include "common/deleter.h"
-#include "include/atomic.h"
#include "common/RWLock.h"
#include "include/types.h"
-#include "include/inline_memory.h"
#include "include/scope_guard.h"
+
#if defined(HAVE_XIO)
#include "msg/xio/XioMsg.h"
#endif
-#include <errno.h>
-#include <sys/uio.h>
-#include <limits.h>
-
-#include <atomic>
-
#define CEPH_BUFFER_ALLOC_UNIT (MIN(CEPH_PAGE_SIZE, 4096))
#define CEPH_BUFFER_APPEND_SIZE (CEPH_BUFFER_ALLOC_UNIT - sizeof(raw_combined))
*/
#include "auth/Auth.h"
-#include "common/ConfUtils.h"
#include "common/ceph_argparse.h"
-#include "common/common_init.h"
#include "common/config.h"
-#include "common/strtol.h"
#include "common/version.h"
-#include "include/intarith.h"
#include "include/str_list.h"
-#include "msg/msg_types.h"
-
-#include <errno.h>
-#include <stdarg.h>
-#include <stdlib.h>
-#include <string>
-#include <string.h>
-#include <sstream>
-#include <vector>
/*
* Ceph argument parsing library
* stuff to live.
*/
-#include <deque>
-#include <stdint.h>
#include <string>
#include <vector>
#include "common/entity_name.h"
-#include "msg/msg_types.h"
/////////////////////// Types ///////////////////////
class CephInitParameters
*
*/
-#include <time.h>
-
#include <boost/algorithm/string.hpp>
#include "include/mempool.h"
#include "common/admin_socket.h"
#include "common/perf_counters.h"
-#include "common/Thread.h"
#include "common/code_environment.h"
-#include "common/ceph_context.h"
#include "common/ceph_crypto.h"
-#include "common/config.h"
-#include "common/debug.h"
#include "common/HeartbeatMap.h"
#include "common/errno.h"
-#include "common/lockdep.h"
-#include "common/Formatter.h"
#include "common/Graylog.h"
-#include "log/Log.h"
#include "auth/Crypto.h"
#include "include/str_list.h"
-#include "common/Mutex.h"
-#include "common/Cond.h"
#include "common/PluginRegistry.h"
-#include "common/valgrind.h"
-
-#include <iostream>
-#include <pthread.h>
-
-#include "include/Spinlock.h"
using ceph::HeartbeatMap;
#ifndef CEPH_CEPHCONTEXT_H
#define CEPH_CEPHCONTEXT_H
-#include <iosfwd>
-#include <stdint.h>
-#include <string>
#include <set>
-#include "include/assert.h"
-#include "include/buffer_fwd.h"
#include "include/atomic.h"
#include "common/cmdparse.h"
-#include "include/Spinlock.h"
#include "crush/CrushLocation.h"
#include <boost/noncopyable.hpp>
*
*/
-#include "include/int_types.h"
#include "common/config.h"
-#include "common/ceph_context.h"
#include "ceph_crypto.h"
-#include "auth/Crypto.h"
-
-#include <pthread.h>
-#include <stdlib.h>
-
#ifdef USE_CRYPTOPP
void ceph::crypto::init(CephContext *cct)
#include "common/config.h"
+#include "common/debug.h"
#ifdef USE_NSS
-
#include <nspr.h>
#include <cert.h>
#include <nss.h>
#include <smime.h>
-
#endif
-#include <string.h>
-#include <errno.h>
-
-
-#include "include/buffer.h"
-
-#include "common/debug.h"
-
-#include "ceph_crypto_cms.h"
-
#define dout_subsys ceph_subsys_crypto
-
#ifndef USE_NSS
-
int ceph_decode_cms(CephContext *cct, bufferlist& cms_bl, bufferlist& decoded_bl)
{
return -ENOTSUP;
#else
-
static int cms_verbose = 0;
static SECStatus
return ret;
}
-
#endif
-#include <iostream>
-#include <include/types.h>
-#include <limits.h>
-#include <errno.h>
-
#include "common/ceph_json.h"
#include "include/utime.h"
// for testing DELETE ME
#include <fstream>
+#include <include/types.h>
using namespace std;
using namespace json_spirit;
#ifndef CEPH_JSON_H
#define CEPH_JSON_H
-#include <iosfwd>
#include <include/types.h>
-#include <list>
#ifdef _ASSERT_H
#define NEED_ASSERT_H
#include "Formatter.h"
-
using namespace json_spirit;
*/
// For ceph_timespec
-#include "include/types.h"
#include "ceph_time.h"
#include "config.h"
#define COMMON_CEPH_TIME_H
#include <chrono>
-#include <ctime>
#include "include/encoding.h"
#define COMMON_CEPH_TIMER_H
#include <condition_variable>
-#include <functional>
-#include <mutex>
#include <thread>
-
#include <boost/intrusive/set.hpp>
-#include "ceph_time.h"
-
namespace ceph {
/// Newly constructed timer should be suspended at point of
*
*/
-#include <cxxabi.h>
-#include "common/cmdparse.h"
-#include "common/Formatter.h"
-#include "include/str_list.h"
#include "json_spirit/json_spirit.h"
#include "common/debug.h"
#ifndef CEPH_COMMON_CMDPARSE_H
#define CEPH_COMMON_CMDPARSE_H
-#include <string>
-#include <sstream>
-#include <map>
#include <boost/variant.hpp>
-#include <vector>
-#include <stdexcept>
+
#include "common/Formatter.h"
#include "common/BackTrace.h"