repo
stringlengths
1
152
file
stringlengths
15
205
code
stringlengths
0
41.6M
file_length
int64
0
41.6M
avg_line_length
float64
0
1.81M
max_line_length
int64
0
12.7M
extension_type
stringclasses
90 values
null
ceph-main/src/tools/rbd_mirror/PoolMetaCache.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "common/debug.h" #include "common/dout.h" #include "tools/rbd_mirror/PoolMetaCache.h" #include <shared_mutex> #define dout_context g_ceph_context #define dout_subsys ceph_subsys_rbd_mirror #undef dout_prefix #de...
2,195
25.142857
70
cc
null
ceph-main/src/tools/rbd_mirror/PoolMetaCache.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_RBD_MIRROR_POOL_META_CACHE_H #define CEPH_RBD_MIRROR_POOL_META_CACHE_H #include "include/int_types.h" #include "common/ceph_mutex.h" #include "tools/rbd_mirror/Types.h" #include <map> namespace rbd { namesp...
1,411
28.416667
70
h
null
ceph-main/src/tools/rbd_mirror/PoolReplayer.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "PoolReplayer.h" #include "common/Cond.h" #include "common/Formatter.h" #include "common/admin_socket.h" #include "common/ceph_argparse.h" #include "common/code_environment.h" #include "common/common_init.h" #inc...
32,868
28.373548
80
cc
null
ceph-main/src/tools/rbd_mirror/PoolReplayer.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_RBD_MIRROR_POOL_REPLAYER_H #define CEPH_RBD_MIRROR_POOL_REPLAYER_H #include "common/Cond.h" #include "common/ceph_mutex.h" #include "include/rados/librados.hpp" #include "librbd/Utils.h" #include "librbd/asi...
8,480
28.346021
80
h
null
ceph-main/src/tools/rbd_mirror/PoolWatcher.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "tools/rbd_mirror/PoolWatcher.h" #include "include/rbd_types.h" #include "cls/rbd/cls_rbd_client.h" #include "common/debug.h" #include "common/errno.h" #include "common/Timer.h" #include "librbd/ImageCtx.h" #incl...
13,360
27.187764
80
cc
null
ceph-main/src/tools/rbd_mirror/PoolWatcher.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_RBD_MIRROR_POOL_WATCHER_H #define CEPH_RBD_MIRROR_POOL_WATCHER_H #include <map> #include <memory> #include <set> #include <string> #include "common/AsyncOpTracker.h" #include "common/ceph_context.h" #includ...
4,213
25.012346
70
h
null
ceph-main/src/tools/rbd_mirror/ProgressContext.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef RBD_MIRROR_PROGRESS_CONTEXT_H #define RBD_MIRROR_PROGRESS_CONTEXT_H namespace rbd { namespace mirror { class ProgressContext { public: virtual ~ProgressContext() {} virtual void update_progress(const std::st...
459
19.909091
70
h
null
ceph-main/src/tools/rbd_mirror/RemotePoolPoller.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "RemotePoolPoller.h" #include "include/ceph_assert.h" #include "common/debug.h" #include "common/errno.h" #include "common/Timer.h" #include "cls/rbd/cls_rbd_client.h" #include "librbd/ImageCtx.h" #include "librb...
7,198
25.86194
80
cc
null
ceph-main/src/tools/rbd_mirror/RemotePoolPoller.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_RBD_MIRROR_REMOTE_POOL_POLLER_H #define CEPH_RBD_MIRROR_REMOTE_POOL_POLLER_H #include "include/rados/librados.hpp" #include "tools/rbd_mirror/Types.h" #include <string> struct Context; namespace librbd { st...
3,308
23.69403
74
h
null
ceph-main/src/tools/rbd_mirror/ServiceDaemon.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "tools/rbd_mirror/ServiceDaemon.h" #include "include/Context.h" #include "include/stringify.h" #include "common/ceph_context.h" #include "common/config.h" #include "common/debug.h" #include "common/errno.h" #incl...
9,242
26.924471
80
cc
null
ceph-main/src/tools/rbd_mirror/ServiceDaemon.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_RBD_MIRROR_SERVICE_DAEMON_H #define CEPH_RBD_MIRROR_SERVICE_DAEMON_H #include "common/ceph_mutex.h" #include "include/common_fwd.h" #include "tools/rbd_mirror/Types.h" #include "tools/rbd_mirror/service_daem...
2,775
28.221053
79
h
null
ceph-main/src/tools/rbd_mirror/Threads.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "tools/rbd_mirror/Threads.h" #include "common/Timer.h" #include "librbd/AsioEngine.h" #include "librbd/ImageCtx.h" #include "librbd/asio/ContextWQ.h" namespace rbd { namespace mirror { template <typename I> Thr...
882
21.641026
70
cc
null
ceph-main/src/tools/rbd_mirror/Threads.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_RBD_MIRROR_THREADS_H #define CEPH_RBD_MIRROR_THREADS_H #include "include/common_fwd.h" #include "include/rados/librados_fwd.hpp" #include "common/ceph_mutex.h" #include "common/Timer.h" #include <memory> cl...
1,059
22.043478
70
h
null
ceph-main/src/tools/rbd_mirror/Throttler.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2016 SUSE LINUX GmbH * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License ve...
6,593
26.360996
77
cc
null
ceph-main/src/tools/rbd_mirror/Throttler.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef RBD_MIRROR_THROTTLER_H #define RBD_MIRROR_THROTTLER_H #include <list> #include <map> #include <set> #include <sstream> #include <string> #include <utility> #include "common/ceph_mutex.h" #include "common/config_...
1,856
23.76
73
h
null
ceph-main/src/tools/rbd_mirror/Types.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "tools/rbd_mirror/Types.h" namespace rbd { namespace mirror { std::ostream &operator<<(std::ostream &os, const ImageId &image_id) { return os << "global id=" << image_id.global_id << ", " << "id="...
946
27.69697
70
cc
null
ceph-main/src/tools/rbd_mirror/Types.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_RBD_MIRROR_TYPES_H #define CEPH_RBD_MIRROR_TYPES_H #include <iostream> #include <memory> #include <set> #include <string> #include <vector> #include "include/rados/librados.hpp" #include "include/rbd/librbd...
4,427
24.744186
73
h
null
ceph-main/src/tools/rbd_mirror/main.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "common/ceph_argparse.h" #include "common/config.h" #include "common/debug.h" #include "common/errno.h" #include "common/perf_counters.h" #include "global/global_init.h" #include "global/signal_handler.h" #includ...
4,454
34.64
95
cc
null
ceph-main/src/tools/rbd_mirror/image_deleter/SnapshotPurgeRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "tools/rbd_mirror/image_deleter/SnapshotPurgeRequest.h" #include "common/debug.h" #include "common/errno.h" #include "librbd/ExclusiveLock.h" #include "librbd/ImageCtx.h" #include "librbd/ImageState.h" #include "...
7,618
24.396667
84
cc
null
ceph-main/src/tools/rbd_mirror/image_deleter/SnapshotPurgeRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_RBD_MIRROR_IMAGE_DELETER_SNAPSHOT_PURGE_REQUEST_H #define CEPH_RBD_MIRROR_IMAGE_DELETER_SNAPSHOT_PURGE_REQUEST_H #include "include/rados/librados.hpp" #include "cls/rbd/cls_rbd_types.h" #include <string> #in...
2,399
21.641509
89
h
null
ceph-main/src/tools/rbd_mirror/image_deleter/TrashMoveRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "tools/rbd_mirror/image_deleter/TrashMoveRequest.h" #include "include/rbd_types.h" #include "cls/rbd/cls_rbd_client.h" #include "common/debug.h" #include "common/errno.h" #include "common/WorkQueue.h" #include "l...
11,458
26.283333
82
cc
null
ceph-main/src/tools/rbd_mirror/image_deleter/TrashMoveRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_RBD_MIRROR_IMAGE_DELETE_TRASH_MOVE_REQUEST_H #define CEPH_RBD_MIRROR_IMAGE_DELETE_TRASH_MOVE_REQUEST_H #include "include/buffer.h" #include "include/rados/librados.hpp" #include "cls/rbd/cls_rbd_types.h" #in...
3,322
22.237762
85
h
null
ceph-main/src/tools/rbd_mirror/image_deleter/TrashRemoveRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "tools/rbd_mirror/image_deleter/TrashRemoveRequest.h" #include "include/ceph_assert.h" #include "common/debug.h" #include "common/errno.h" #include "common/WorkQueue.h" #include "cls/rbd/cls_rbd_client.h" #includ...
7,343
26.609023
82
cc
null
ceph-main/src/tools/rbd_mirror/image_deleter/TrashRemoveRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_RBD_MIRROR_IMAGE_DELETER_TRASH_REMOVE_REQUEST_H #define CEPH_RBD_MIRROR_IMAGE_DELETER_TRASH_REMOVE_REQUEST_H #include "include/rados/librados.hpp" #include "include/buffer.h" #include "cls/rbd/cls_rbd_types....
2,883
23.440678
87
h
null
ceph-main/src/tools/rbd_mirror/image_deleter/TrashWatcher.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "tools/rbd_mirror/image_deleter/TrashWatcher.h" #include "include/rbd_types.h" #include "cls/rbd/cls_rbd_client.h" #include "common/debug.h" #include "common/errno.h" #include "common/Timer.h" #include "librbd/Im...
10,581
26.485714
80
cc
null
ceph-main/src/tools/rbd_mirror/image_deleter/TrashWatcher.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_RBD_MIRROR_IMAGE_DELETE_TRASH_WATCHER_H #define CEPH_RBD_MIRROR_IMAGE_DELETE_TRASH_WATCHER_H #include "include/rados/librados.hpp" #include "common/AsyncOpTracker.h" #include "common/ceph_mutex.h" #include "...
3,602
24.735714
81
h
null
ceph-main/src/tools/rbd_mirror/image_deleter/Types.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_RBD_MIRROR_IMAGE_DELETER_TYPES_H #define CEPH_RBD_MIRROR_IMAGE_DELETER_TYPES_H #include "include/Context.h" #include "librbd/journal/Policy.h" #include <string> struct utime_t; namespace rbd { namespace mi...
1,177
20.418182
70
h
null
ceph-main/src/tools/rbd_mirror/image_map/LoadRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "common/debug.h" #include "common/errno.h" #include "librbd/Utils.h" #include "include/rbd_types.h" #include "cls/rbd/cls_rbd_client.h" #include "UpdateRequest.h" #include "LoadRequest.h" #define dout_context ...
4,296
23.554286
91
cc
null
ceph-main/src/tools/rbd_mirror/image_map/LoadRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_RBD_MIRROR_IMAGE_MAP_LOAD_REQUEST_H #define CEPH_RBD_MIRROR_IMAGE_MAP_LOAD_REQUEST_H #include "cls/rbd/cls_rbd_types.h" #include "include/rados/librados.hpp" class Context; namespace librbd { class ImageCt...
1,758
21.551282
92
h
null
ceph-main/src/tools/rbd_mirror/image_map/Policy.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "common/debug.h" #include "common/errno.h" #include "librbd/Utils.h" #include "Policy.h" #define dout_context g_ceph_context #define dout_subsys ceph_subsys_rbd_mirror #undef dout_prefix #define dout_prefix *_d...
13,796
32.816176
84
cc
null
ceph-main/src/tools/rbd_mirror/image_map/Policy.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_RBD_MIRROR_IMAGE_MAP_POLICY_H #define CEPH_RBD_MIRROR_IMAGE_MAP_POLICY_H #include <map> #include <tuple> #include <boost/optional.hpp> #include "cls/rbd/cls_rbd_types.h" #include "include/rados/librados.hpp...
3,826
30.113821
76
h
null
ceph-main/src/tools/rbd_mirror/image_map/SimplePolicy.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "common/debug.h" #include "common/errno.h" #include "SimplePolicy.h" #define dout_context g_ceph_context #define dout_subsys ceph_subsys_rbd_mirror #undef dout_prefix #define dout_prefix *_dout << "rbd::mirror:...
2,559
27.444444
80
cc
null
ceph-main/src/tools/rbd_mirror/image_map/SimplePolicy.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_RBD_MIRROR_IMAGE_MAP_SIMPLE_POLICY_H #define CEPH_RBD_MIRROR_IMAGE_MAP_SIMPLE_POLICY_H #include "Policy.h" namespace rbd { namespace mirror { namespace image_map { class SimplePolicy : public Policy { publ...
1,000
24.025
70
h
null
ceph-main/src/tools/rbd_mirror/image_map/StateTransition.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include <ostream> #include "include/ceph_assert.h" #include "StateTransition.h" namespace rbd { namespace mirror { namespace image_map { std::ostream &operator<<(std::ostream &os, const StateTr...
3,531
36.178947
80
cc
null
ceph-main/src/tools/rbd_mirror/image_map/StateTransition.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_RBD_MIRROR_IMAGE_MAP_STATE_TRANSITION_H #define CEPH_RBD_MIRROR_IMAGE_MAP_STATE_TRANSITION_H #include "tools/rbd_mirror/image_map/Types.h" #include <boost/optional.hpp> #include <map> namespace rbd { namesp...
2,103
26.324675
80
h
null
ceph-main/src/tools/rbd_mirror/image_map/Types.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "Types.h" #include "include/ceph_assert.h" #include "include/stringify.h" #include "common/Formatter.h" #include <iostream> namespace rbd { namespace mirror { namespace image_map { const std::string UNMAPPED_IN...
3,182
21.899281
77
cc
null
ceph-main/src/tools/rbd_mirror/image_map/Types.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_RBD_MIRROR_IMAGE_MAP_TYPES_H #define CEPH_RBD_MIRROR_IMAGE_MAP_TYPES_H #include <iosfwd> #include <map> #include <set> #include <string> #include <boost/variant.hpp> #include "include/buffer.h" #include "in...
2,955
21.564885
74
h
null
ceph-main/src/tools/rbd_mirror/image_map/UpdateRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "common/debug.h" #include "common/errno.h" #include "librbd/Utils.h" #include "include/rbd_types.h" #include "cls/rbd/cls_rbd_client.h" #include "UpdateRequest.h" #define dout_context g_ceph_context #define do...
2,686
25.60396
100
cc
null
ceph-main/src/tools/rbd_mirror/image_map/UpdateRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_RBD_MIRROR_IMAGE_MAP_UPDATE_REQUEST_H #define CEPH_RBD_MIRROR_IMAGE_MAP_UPDATE_REQUEST_H #include "cls/rbd/cls_rbd_types.h" #include "include/rados/librados.hpp" class Context; namespace librbd { class Ima...
1,811
26.454545
101
h
null
ceph-main/src/tools/rbd_mirror/image_replayer/BootstrapRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "include/compat.h" #include "BootstrapRequest.h" #include "CreateImageRequest.h" #include "OpenImageRequest.h" #include "OpenLocalImageRequest.h" #include "common/debug.h" #include "common/dout.h" #include "commo...
14,292
28.409465
79
cc
null
ceph-main/src/tools/rbd_mirror/image_replayer/BootstrapRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef RBD_MIRROR_IMAGE_REPLAYER_BOOTSTRAP_REQUEST_H #define RBD_MIRROR_IMAGE_REPLAYER_BOOTSTRAP_REQUEST_H #include "include/int_types.h" #include "include/rados/librados.hpp" #include "common/ceph_mutex.h" #include "co...
6,112
32.587912
86
h
null
ceph-main/src/tools/rbd_mirror/image_replayer/CloseImageRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "CloseImageRequest.h" #include "common/debug.h" #include "common/errno.h" #include "librbd/ImageCtx.h" #include "librbd/ImageState.h" #include "librbd/Utils.h" #define dout_context g_ceph_context #define dout_su...
1,545
23.539683
82
cc
null
ceph-main/src/tools/rbd_mirror/image_replayer/CloseImageRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef RBD_MIRROR_IMAGE_REPLAYER_CLOSE_IMAGE_REQUEST_H #define RBD_MIRROR_IMAGE_REPLAYER_CLOSE_IMAGE_REQUEST_H #include "include/int_types.h" #include "librbd/ImageCtx.h" #include <string> class Context; namespace libr...
1,191
19.912281
87
h
null
ceph-main/src/tools/rbd_mirror/image_replayer/CreateImageRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "CreateImageRequest.h" #include "CloseImageRequest.h" #include "OpenImageRequest.h" #include "common/debug.h" #include "common/errno.h" #include "cls/rbd/cls_rbd_client.h" #include "librbd/ImageCtx.h" #include "l...
14,206
30.431416
95
cc
null
ceph-main/src/tools/rbd_mirror/image_replayer/CreateImageRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef RBD_MIRROR_IMAGE_REPLAYER_CREATE_IMAGE_REQUEST_H #define RBD_MIRROR_IMAGE_REPLAYER_CREATE_IMAGE_REQUEST_H #include "include/int_types.h" #include "include/types.h" #include "include/rados/librados.hpp" #include "...
4,941
33.082759
88
h
null
ceph-main/src/tools/rbd_mirror/image_replayer/GetMirrorImageIdRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "tools/rbd_mirror/image_replayer/GetMirrorImageIdRequest.h" #include "include/rados/librados.hpp" #include "cls/rbd/cls_rbd_client.h" #include "common/debug.h" #include "common/errno.h" #include "librbd/ImageCtx....
2,312
25.895349
86
cc
null
ceph-main/src/tools/rbd_mirror/image_replayer/GetMirrorImageIdRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef RBD_MIRROR_IMAGE_REPLAYER_GET_MIRROR_IMAGE_ID_REQUEST_H #define RBD_MIRROR_IMAGE_REPLAYER_GET_MIRROR_IMAGE_ID_REQUEST_H #include "include/buffer.h" #include "include/rados/librados_fwd.hpp" #include <string> nam...
1,873
23.657895
93
h
null
ceph-main/src/tools/rbd_mirror/image_replayer/OpenImageRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "OpenImageRequest.h" #include "common/debug.h" #include "common/errno.h" #include "librbd/ImageCtx.h" #include "librbd/ImageState.h" #include "librbd/Utils.h" #include <type_traits> #define dout_context g_ceph_c...
2,150
25.8875
81
cc
null
ceph-main/src/tools/rbd_mirror/image_replayer/OpenImageRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef RBD_MIRROR_IMAGE_REPLAYER_OPEN_IMAGE_REQUEST_H #define RBD_MIRROR_IMAGE_REPLAYER_OPEN_IMAGE_REQUEST_H #include "include/int_types.h" #include "librbd/ImageCtx.h" #include <string> class Context; namespace librbd...
1,692
22.513889
86
h
null
ceph-main/src/tools/rbd_mirror/image_replayer/OpenLocalImageRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "include/compat.h" #include "CloseImageRequest.h" #include "OpenLocalImageRequest.h" #include "common/debug.h" #include "common/errno.h" #include "librbd/ExclusiveLock.h" #include "librbd/ImageCtx.h" #include "li...
8,058
26.505119
86
cc
null
ceph-main/src/tools/rbd_mirror/image_replayer/OpenLocalImageRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef RBD_MIRROR_IMAGE_REPLAYER_OPEN_LOCAL_IMAGE_REQUEST_H #define RBD_MIRROR_IMAGE_REPLAYER_OPEN_LOCAL_IMAGE_REQUEST_H #include "include/int_types.h" #include "cls/rbd/cls_rbd_types.h" #include "librbd/ImageCtx.h" #in...
2,718
26.744898
91
h
null
ceph-main/src/tools/rbd_mirror/image_replayer/PrepareLocalImageRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "tools/rbd_mirror/image_replayer/PrepareLocalImageRequest.h" #include "include/rados/librados.hpp" #include "cls/rbd/cls_rbd_client.h" #include "common/debug.h" #include "common/errno.h" #include "librbd/ImageCtx...
6,027
29.444444
87
cc
null
ceph-main/src/tools/rbd_mirror/image_replayer/PrepareLocalImageRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef RBD_MIRROR_IMAGE_REPLAYER_PREPARE_LOCAL_IMAGE_REQUEST_H #define RBD_MIRROR_IMAGE_REPLAYER_PREPARE_LOCAL_IMAGE_REQUEST_H #include "include/buffer.h" #include "include/rados/librados_fwd.hpp" #include "cls/rbd/cls_...
2,893
23.948276
94
h
null
ceph-main/src/tools/rbd_mirror/image_replayer/PrepareRemoteImageRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "tools/rbd_mirror/image_replayer/PrepareRemoteImageRequest.h" #include "include/rados/librados.hpp" #include "cls/rbd/cls_rbd_client.h" #include "common/debug.h" #include "common/errno.h" #include "journal/Journa...
9,702
33.165493
88
cc
null
ceph-main/src/tools/rbd_mirror/image_replayer/PrepareRemoteImageRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef RBD_MIRROR_IMAGE_REPLAYER_PREPARE_REMOTE_IMAGE_REQUEST_H #define RBD_MIRROR_IMAGE_REPLAYER_PREPARE_REMOTE_IMAGE_REQUEST_H #include "include/buffer_fwd.h" #include "include/rados/librados_fwd.hpp" #include "cls/jo...
4,596
28.850649
95
h
null
ceph-main/src/tools/rbd_mirror/image_replayer/Replayer.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef RBD_MIRROR_IMAGE_REPLAYER_REPLAYER_H #define RBD_MIRROR_IMAGE_REPLAYER_REPLAYER_H #include <string> struct Context; namespace rbd { namespace mirror { namespace image_replayer { struct Replayer { virtual ~Re...
937
22.45
70
h
null
ceph-main/src/tools/rbd_mirror/image_replayer/ReplayerListener.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef RBD_MIRROR_IMAGE_REPLAYER_REPLAYER_LISTENER_H #define RBD_MIRROR_IMAGE_REPLAYER_REPLAYER_LISTENER_H namespace rbd { namespace mirror { namespace image_replayer { struct ReplayerListener { virtual ~ReplayerList...
505
22
70
h
null
ceph-main/src/tools/rbd_mirror/image_replayer/StateBuilder.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "StateBuilder.h" #include "include/ceph_assert.h" #include "include/Context.h" #include "common/debug.h" #include "common/errno.h" #include "journal/Journaler.h" #include "librbd/ImageCtx.h" #include "tools/rbd_m...
3,716
25.741007
80
cc
null
ceph-main/src/tools/rbd_mirror/image_replayer/StateBuilder.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_RBD_MIRROR_IMAGE_REPLAYER_STATE_BUILDER_H #define CEPH_RBD_MIRROR_IMAGE_REPLAYER_STATE_BUILDER_H #include "include/rados/librados_fwd.hpp" #include "cls/rbd/cls_rbd_types.h" #include "librbd/mirror/Types.h" ...
3,121
26.147826
82
h
null
ceph-main/src/tools/rbd_mirror/image_replayer/TimeRollingMean.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "tools/rbd_mirror/image_replayer/TimeRollingMean.h" #include "common/Clock.h" namespace rbd { namespace mirror { namespace image_replayer { void TimeRollingMean::operator()(uint32_t value) { auto time = ceph_...
785
21.457143
70
cc
null
ceph-main/src/tools/rbd_mirror/image_replayer/TimeRollingMean.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef RBD_MIRROR_IMAGE_REPLAYER_TIME_ROLLING_MEAN_H #define RBD_MIRROR_IMAGE_REPLAYER_TIME_ROLLING_MEAN_H #include "include/utime.h" #include <boost/accumulators/accumulators.hpp> #include <boost/accumulators/statistic...
989
23.146341
70
h
null
ceph-main/src/tools/rbd_mirror/image_replayer/Types.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_RBD_MIRROR_IMAGE_REPLAYER_TYPES_H #define CEPH_RBD_MIRROR_IMAGE_REPLAYER_TYPES_H namespace rbd { namespace mirror { namespace image_replayer { enum HealthState { HEALTH_STATE_OK, HEALTH_STATE_WARNING, ...
465
20.181818
70
h
null
ceph-main/src/tools/rbd_mirror/image_replayer/Utils.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "tools/rbd_mirror/image_replayer/Utils.h" #include "include/rados/librados.hpp" #include "common/debug.h" #include "common/errno.h" #include "cls/journal/cls_journal_types.h" #include "librbd/journal/Types.h" #d...
1,732
26.951613
77
cc
null
ceph-main/src/tools/rbd_mirror/image_replayer/Utils.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef RBD_MIRROR_IMAGE_REPLAYER_UTILS_H #define RBD_MIRROR_IMAGE_REPLAYER_UTILS_H #include "include/rados/librados_fwd.hpp" #include <string> namespace cls { namespace journal { struct Client; } } namespace librbd { n...
847
27.266667
76
h
null
ceph-main/src/tools/rbd_mirror/image_replayer/journal/CreateLocalImageRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "CreateLocalImageRequest.h" #include "include/rados/librados.hpp" #include "common/debug.h" #include "common/dout.h" #include "common/errno.h" #include "journal/Journaler.h" #include "librbd/ImageCtx.h" #include ...
5,096
30.269939
95
cc
null
ceph-main/src/tools/rbd_mirror/image_replayer/journal/CreateLocalImageRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef RBD_MIRROR_IMAGE_REPLAYER_JOURNAL_CREATE_LOCAL_IMAGE_REQUEST_H #define RBD_MIRROR_IMAGE_REPLAYER_JOURNAL_CREATE_LOCAL_IMAGE_REQUEST_H #include "include/rados/librados_fwd.hpp" #include "tools/rbd_mirror/BaseReque...
3,223
26.555556
102
h
null
ceph-main/src/tools/rbd_mirror/image_replayer/journal/EventPreprocessor.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "EventPreprocessor.h" #include "common/debug.h" #include "common/dout.h" #include "common/errno.h" #include "journal/Journaler.h" #include "librbd/ImageCtx.h" #include "librbd/ImageState.h" #include "librbd/Utils...
5,959
27.792271
89
cc
null
ceph-main/src/tools/rbd_mirror/image_replayer/journal/EventPreprocessor.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef RBD_MIRROR_IMAGE_REPLAYER_EVENT_PREPROCESSOR_H #define RBD_MIRROR_IMAGE_REPLAYER_EVENT_PREPROCESSOR_H #include "include/int_types.h" #include "librbd/journal/Types.h" #include "librbd/journal/TypeTraits.h" #inclu...
3,562
26.835938
96
h
null
ceph-main/src/tools/rbd_mirror/image_replayer/journal/PrepareReplayRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "PrepareReplayRequest.h" #include "common/debug.h" #include "common/dout.h" #include "common/errno.h" #include "journal/Journaler.h" #include "librbd/ImageCtx.h" #include "librbd/Journal.h" #include "librbd/Utils...
10,297
31.485804
92
cc
null
ceph-main/src/tools/rbd_mirror/image_replayer/journal/PrepareReplayRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef RBD_MIRROR_IMAGE_REPLAYER_JOURNAL_PREPARE_REPLAY_REQUEST_H #define RBD_MIRROR_IMAGE_REPLAYER_JOURNAL_PREPARE_REPLAY_REQUEST_H #include "include/int_types.h" #include "cls/journal/cls_journal_types.h" #include "li...
2,768
22.87069
99
h
null
ceph-main/src/tools/rbd_mirror/image_replayer/journal/ReplayStatusFormatter.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "ReplayStatusFormatter.h" #include "common/debug.h" #include "common/dout.h" #include "common/errno.h" #include "journal/Journaler.h" #include "json_spirit/json_spirit.h" #include "librbd/ImageCtx.h" #include "li...
8,484
28.77193
93
cc
null
ceph-main/src/tools/rbd_mirror/image_replayer/journal/ReplayStatusFormatter.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef RBD_MIRROR_IMAGE_REPLAYER_REPLAY_STATUS_FORMATTER_H #define RBD_MIRROR_IMAGE_REPLAYER_REPLAY_STATUS_FORMATTER_H #include "include/Context.h" #include "common/ceph_mutex.h" #include "cls/journal/cls_journal_types....
2,204
30.056338
100
h
null
ceph-main/src/tools/rbd_mirror/image_replayer/journal/Replayer.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "Replayer.h" #include "common/debug.h" #include "common/errno.h" #include "common/perf_counters.h" #include "common/perf_counters_key.h" #include "common/Timer.h" #include "librbd/Journal.h" #include "librbd/Util...
40,251
29.540212
80
cc
null
ceph-main/src/tools/rbd_mirror/image_replayer/journal/Replayer.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef RBD_MIRROR_IMAGE_REPLAYER_JOURNAL_REPLAYER_H #define RBD_MIRROR_IMAGE_REPLAYER_JOURNAL_REPLAYER_H #include "tools/rbd_mirror/image_replayer/Replayer.h" #include "include/utime.h" #include "common/AsyncOpTracker.h...
10,900
32.645062
87
h
null
ceph-main/src/tools/rbd_mirror/image_replayer/journal/StateBuilder.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "StateBuilder.h" #include "include/ceph_assert.h" #include "include/Context.h" #include "common/debug.h" #include "common/errno.h" #include "journal/Journaler.h" #include "librbd/ImageCtx.h" #include "librbd/Jour...
4,535
29.24
84
cc
null
ceph-main/src/tools/rbd_mirror/image_replayer/journal/StateBuilder.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_RBD_MIRROR_IMAGE_REPLAYER_JOURNAL_STATE_BUILDER_H #define CEPH_RBD_MIRROR_IMAGE_REPLAYER_JOURNAL_STATE_BUILDER_H #include "tools/rbd_mirror/image_replayer/StateBuilder.h" #include "cls/journal/cls_journal_ty...
2,810
28.589474
91
h
null
ceph-main/src/tools/rbd_mirror/image_replayer/journal/SyncPointHandler.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "SyncPointHandler.h" #include "StateBuilder.h" #include "include/ceph_assert.h" #include "include/Context.h" #include "common/debug.h" #include "common/errno.h" #include "journal/Journaler.h" #include "librbd/Ima...
3,318
29.172727
88
cc
null
ceph-main/src/tools/rbd_mirror/image_replayer/journal/SyncPointHandler.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef RBD_MIRROR_IMAGE_REPLAYER_JOURNAL_SYNC_POINT_HANDLER_H #define RBD_MIRROR_IMAGE_REPLAYER_JOURNAL_SYNC_POINT_HANDLER_H #include "tools/rbd_mirror/image_sync/Types.h" #include "librbd/journal/Types.h" struct Conte...
1,620
27.946429
95
h
null
ceph-main/src/tools/rbd_mirror/image_replayer/snapshot/ApplyImageStateRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "ApplyImageStateRequest.h" #include "common/debug.h" #include "common/errno.h" #include "cls/rbd/cls_rbd_client.h" #include "librbd/ImageCtx.h" #include "librbd/Operations.h" #include "librbd/Utils.h" #include "l...
20,398
29.954476
95
cc
null
ceph-main/src/tools/rbd_mirror/image_replayer/snapshot/ApplyImageStateRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef RBD_MIRROR_IMAGE_REPLAYER_SNAPSHOT_APPLY_IMAGE_STATE_REQUEST_H #define RBD_MIRROR_IMAGE_REPLAYER_SNAPSHOT_APPLY_IMAGE_STATE_REQUEST_H #include "common/ceph_mutex.h" #include "librbd/mirror/snapshot/Types.h" #incl...
3,754
23.070513
102
h
null
ceph-main/src/tools/rbd_mirror/image_replayer/snapshot/CreateLocalImageRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "CreateLocalImageRequest.h" #include "include/rados/librados.hpp" #include "common/debug.h" #include "common/dout.h" #include "common/errno.h" #include "cls/rbd/cls_rbd_client.h" #include "cls/rbd/cls_rbd_types.h...
6,315
29.809756
96
cc
null
ceph-main/src/tools/rbd_mirror/image_replayer/snapshot/CreateLocalImageRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef RBD_MIRROR_IMAGE_REPLAYER_SNAPSHOT_CREATE_LOCAL_IMAGE_REQUEST_H #define RBD_MIRROR_IMAGE_REPLAYER_SNAPSHOT_CREATE_LOCAL_IMAGE_REQUEST_H #include "include/rados/librados_fwd.hpp" #include "tools/rbd_mirror/BaseReq...
3,377
26.688525
103
h
null
ceph-main/src/tools/rbd_mirror/image_replayer/snapshot/PrepareReplayRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "PrepareReplayRequest.h" #include "common/debug.h" #include "common/dout.h" #include "common/errno.h" #include "librbd/ImageCtx.h" #include "librbd/Utils.h" #include "librbd/mirror/snapshot/ImageMeta.h" #include ...
2,039
27.732394
93
cc
null
ceph-main/src/tools/rbd_mirror/image_replayer/snapshot/PrepareReplayRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef RBD_MIRROR_IMAGE_REPLAYER_JOURNAL_PREPARE_REPLAY_REQUEST_H #define RBD_MIRROR_IMAGE_REPLAYER_JOURNAL_PREPARE_REPLAY_REQUEST_H #include "include/int_types.h" #include "librbd/mirror/Types.h" #include "tools/rbd_mi...
2,212
22.795699
100
h
null
ceph-main/src/tools/rbd_mirror/image_replayer/snapshot/Replayer.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "Replayer.h" #include "common/debug.h" #include "common/errno.h" #include "common/perf_counters.h" #include "common/perf_counters_key.h" #include "include/stringify.h" #include "common/Timer.h" #include "cls/rbd/...
53,099
31.49694
81
cc
null
ceph-main/src/tools/rbd_mirror/image_replayer/snapshot/Replayer.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef RBD_MIRROR_IMAGE_REPLAYER_SNAPSHOT_REPLAYER_H #define RBD_MIRROR_IMAGE_REPLAYER_SNAPSHOT_REPLAYER_H #include "tools/rbd_mirror/image_replayer/Replayer.h" #include "common/ceph_mutex.h" #include "common/AsyncOpTra...
11,210
31.031429
88
h
null
ceph-main/src/tools/rbd_mirror/image_replayer/snapshot/StateBuilder.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "StateBuilder.h" #include "include/ceph_assert.h" #include "include/Context.h" #include "common/debug.h" #include "common/errno.h" #include "librbd/ImageCtx.h" #include "librbd/mirror/snapshot/ImageMeta.h" #inclu...
3,553
28.371901
85
cc
null
ceph-main/src/tools/rbd_mirror/image_replayer/snapshot/StateBuilder.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_RBD_MIRROR_IMAGE_REPLAYER_SNAPSHOT_STATE_BUILDER_H #define CEPH_RBD_MIRROR_IMAGE_REPLAYER_SNAPSHOT_STATE_BUILDER_H #include "tools/rbd_mirror/image_replayer/StateBuilder.h" #include <string> struct Context;...
2,490
25.5
92
h
null
ceph-main/src/tools/rbd_mirror/image_replayer/snapshot/Utils.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "Utils.h" #include "common/debug.h" #include "common/errno.h" #include "cls/rbd/cls_rbd_types.h" #define dout_context g_ceph_context #define dout_subsys ceph_subsys_rbd_mirror #undef dout_prefix #define dout_pre...
2,269
33.393939
79
cc
null
ceph-main/src/tools/rbd_mirror/image_replayer/snapshot/Utils.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef RBD_MIRROR_IMAGE_REPLAYER_SNAPSHOT_UTILS_H #define RBD_MIRROR_IMAGE_REPLAYER_SNAPSHOT_UTILS_H #include "include/int_types.h" #include "include/rados/librados.hpp" #include "common/ceph_mutex.h" #include "librbd/T...
838
26.064516
73
h
null
ceph-main/src/tools/rbd_mirror/image_sync/SyncPointCreateRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "SyncPointCreateRequest.h" #include "include/uuid.h" #include "common/debug.h" #include "common/errno.h" #include "librbd/ImageCtx.h" #include "librbd/ImageState.h" #include "librbd/Operations.h" #include "librbd...
4,667
25.982659
83
cc
null
ceph-main/src/tools/rbd_mirror/image_sync/SyncPointCreateRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef RBD_MIRROR_IMAGE_SYNC_SYNC_POINT_CREATE_REQUEST_H #define RBD_MIRROR_IMAGE_SYNC_SYNC_POINT_CREATE_REQUEST_H #include "librbd/internal.h" #include "Types.h" #include <string> class Context; namespace journal { cl...
2,266
23.117021
88
h
null
ceph-main/src/tools/rbd_mirror/image_sync/SyncPointPruneRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "SyncPointPruneRequest.h" #include "common/debug.h" #include "common/errno.h" #include "librbd/ImageCtx.h" #include "librbd/ImageState.h" #include "librbd/Operations.h" #include "librbd/Utils.h" #include <set> #...
5,936
26.742991
82
cc
null
ceph-main/src/tools/rbd_mirror/image_sync/SyncPointPruneRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef RBD_MIRROR_IMAGE_SYNC_SYNC_POINT_PRUNE_REQUEST_H #define RBD_MIRROR_IMAGE_SYNC_SYNC_POINT_PRUNE_REQUEST_H #include "tools/rbd_mirror/image_sync/Types.h" #include <list> #include <string> class Context; namespace...
2,121
22.065217
87
h
null
ceph-main/src/tools/rbd_mirror/image_sync/Types.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef RBD_MIRROR_IMAGE_SYNC_TYPES_H #define RBD_MIRROR_IMAGE_SYNC_TYPES_H #include "cls/rbd/cls_rbd_types.h" #include "librbd/Types.h" #include <list> #include <string> #include <boost/optional.hpp> struct Context; n...
2,017
25.906667
70
h
null
ceph-main/src/tools/rbd_mirror/image_sync/Utils.cc
// -*- mode:c++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "Utils.h" namespace rbd { namespace mirror { namespace image_sync { namespace util { namespace { static const std::string SNAP_NAME_PREFIX(".rbd-mirror"); } // anonymous namespace std::string get_snapshot_na...
519
19.8
76
cc
null
ceph-main/src/tools/rbd_mirror/image_sync/Utils.h
// -*- mode:c++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include <string> namespace rbd { namespace mirror { namespace image_sync { namespace util { std::string get_snapshot_name_prefix(const std::string& local_mirror_uuid); } // namespace util } // namespace image_sync } /...
358
20.117647
75
h
null
ceph-main/src/tools/rbd_mirror/instance_watcher/Types.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "Types.h" #include "include/ceph_assert.h" #include "include/stringify.h" #include "common/Formatter.h" namespace rbd { namespace mirror { namespace instance_watcher { namespace { class EncodePayloadVisitor : ...
6,335
24.756098
86
cc
null
ceph-main/src/tools/rbd_mirror/instance_watcher/Types.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef RBD_MIRROR_INSTANCE_WATCHER_TYPES_H #define RBD_MIRROR_INSTANCE_WATCHER_TYPES_H #include <string> #include <set> #include <boost/variant.hpp> #include "include/buffer_fwd.h" #include "include/encoding.h" #includ...
5,146
24.994949
79
h
null
ceph-main/src/tools/rbd_mirror/instances/Types.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_RBD_MIRROR_INSTANCES_TYPES_H #define CEPH_RBD_MIRROR_INSTANCES_TYPES_H #include <string> #include <vector> namespace rbd { namespace mirror { namespace instances { struct Listener { typedef std::vector<s...
624
20.551724
70
h