Search is not available for this dataset
repo
stringlengths
2
152
file
stringlengths
15
239
code
stringlengths
0
58.4M
file_length
int64
0
58.4M
avg_line_length
float64
0
1.81M
max_line_length
int64
0
12.7M
extension_type
stringclasses
364 values
null
ceph-main/src/librbd/io/WriteBlockImageDispatch.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/io/WriteBlockImageDispatch.h" #include "common/dout.h" #include "common/Cond.h" #include "librbd/ImageCtx.h" #include "librbd/Utils.h" #include "librbd/asio/ContextWQ.h" #include "librbd/io/AioCompletion....
8,189
29.221402
79
cc
null
ceph-main/src/librbd/io/WriteBlockImageDispatch.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_IO_WRITE_BLOCK_IMAGE_DISPATCH_H #define CEPH_LIBRBD_IO_WRITE_BLOCK_IMAGE_DISPATCH_H #include "librbd/io/ImageDispatchInterface.h" #include "include/int_types.h" #include "include/buffer.h" #include "c...
4,333
31.103704
77
h
null
ceph-main/src/librbd/journal/CreateRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "common/dout.h" #include "common/errno.h" #include "include/ceph_assert.h" #include "librbd/Utils.h" #include "common/Timer.h" #include "journal/Settings.h" #include "librbd/journal/CreateRequest.h" #include "lib...
6,623
27.187234
89
cc
null
ceph-main/src/librbd/journal/CreateRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_JOURNAL_CREATE_REQUEST_H #define CEPH_LIBRBD_JOURNAL_CREATE_REQUEST_H #include "include/int_types.h" #include "include/buffer.h" #include "include/rados/librados.hpp" #include "include/rbd/librbd.hpp"...
2,939
26.476636
85
h
null
ceph-main/src/librbd/journal/DemoteRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/journal/DemoteRequest.h" #include "common/dout.h" #include "common/errno.h" #include "journal/Journaler.h" #include "journal/Settings.h" #include "librbd/ImageCtx.h" #include "librbd/Journal.h" #include "...
6,801
25.570313
80
cc
null
ceph-main/src/librbd/journal/DemoteRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_JOURNAL_DEMOTE_REQUEST_H #define CEPH_LIBRBD_JOURNAL_DEMOTE_REQUEST_H #include "common/ceph_mutex.h" #include "cls/journal/cls_journal_types.h" #include "journal/Future.h" #include "librbd/journal/Typ...
2,305
20.351852
74
h
null
ceph-main/src/librbd/journal/DisabledPolicy.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_JOURNAL_DISABLED_POLICY_H #define CEPH_LIBRBD_JOURNAL_DISABLED_POLICY_H #include "librbd/journal/Policy.h" namespace librbd { struct ImageCtx; namespace journal { class DisabledPolicy : public Pol...
640
19.03125
70
h
null
ceph-main/src/librbd/journal/ObjectDispatch.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/journal/ObjectDispatch.h" #include "common/dout.h" #include "osdc/Striper.h" #include "librbd/ImageCtx.h" #include "librbd/Journal.h" #include "librbd/Utils.h" #include "librbd/asio/ContextWQ.h" #include ...
9,041
34.046512
83
cc
null
ceph-main/src/librbd/journal/ObjectDispatch.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_JOURNAL_OBJECT_DISPATCH_H #define CEPH_LIBRBD_JOURNAL_OBJECT_DISPATCH_H #include "include/int_types.h" #include "include/buffer.h" #include "include/rados/librados.hpp" #include "common/zipkin_trace.h...
4,291
33.336
77
h
null
ceph-main/src/librbd/journal/OpenRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/journal/OpenRequest.h" #include "common/dout.h" #include "common/errno.h" #include "journal/Journaler.h" #include "librbd/ImageCtx.h" #include "librbd/Journal.h" #include "librbd/Utils.h" #include "librbd...
4,117
27.4
82
cc
null
ceph-main/src/librbd/journal/OpenRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_JOURNAL_OPEN_REQUEST_H #define CEPH_LIBRBD_JOURNAL_OPEN_REQUEST_H #include "common/ceph_mutex.h" #include "include/int_types.h" #include "librbd/journal/TypeTraits.h" struct Context; namespace librb...
1,883
20.906977
86
h
null
ceph-main/src/librbd/journal/Policy.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_JOURNAL_POLICY_H #define CEPH_LIBRBD_JOURNAL_POLICY_H class Context; namespace librbd { namespace journal { struct Policy { virtual ~Policy() { } virtual bool append_disabled() const = 0; ...
513
18.769231
70
h
null
ceph-main/src/librbd/journal/PromoteRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/journal/PromoteRequest.h" #include "common/dout.h" #include "common/errno.h" #include "journal/Journaler.h" #include "journal/Settings.h" #include "librbd/ImageCtx.h" #include "librbd/Journal.h" #include ...
6,417
25.966387
80
cc
null
ceph-main/src/librbd/journal/PromoteRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_JOURNAL_PROMOTE_REQUEST_H #define CEPH_LIBRBD_JOURNAL_PROMOTE_REQUEST_H #include "include/int_types.h" #include "common/ceph_mutex.h" #include "cls/journal/cls_journal_types.h" #include "journal/Futur...
2,360
20.463636
72
h
null
ceph-main/src/librbd/journal/RemoveRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "common/dout.h" #include "common/errno.h" #include "common/Timer.h" #include "journal/Settings.h" #include "include/ceph_assert.h" #include "librbd/Utils.h" #include "librbd/journal/RemoveRequest.h" #define dout...
4,141
25.896104
89
cc
null
ceph-main/src/librbd/journal/RemoveRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_JOURNAL_REMOVE_REQUEST_H #define CEPH_LIBRBD_JOURNAL_REMOVE_REQUEST_H #include "include/int_types.h" #include "include/buffer.h" #include "include/rados/librados.hpp" #include "include/rbd/librbd.hpp"...
2,045
23.95122
85
h
null
ceph-main/src/librbd/journal/Replay.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/journal/Replay.h" #include "common/dout.h" #include "common/errno.h" #include "librbd/ExclusiveLock.h" #include "librbd/ImageCtx.h" #include "librbd/ImageState.h" #include "librbd/internal.h" #include "li...
38,979
32.146259
83
cc
null
ceph-main/src/librbd/journal/Replay.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_JOURNAL_REPLAY_H #define CEPH_LIBRBD_JOURNAL_REPLAY_H #include "include/int_types.h" #include "include/buffer_fwd.h" #include "include/Context.h" #include "common/ceph_mutex.h" #include "librbd/io/Typ...
7,233
34.116505
80
h
null
ceph-main/src/librbd/journal/ResetRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/journal/ResetRequest.h" #include "common/dout.h" #include "common/errno.h" #include "common/Timer.h" #include "common/WorkQueue.h" #include "journal/Journaler.h" #include "journal/Settings.h" #include "in...
4,348
25.680982
80
cc
null
ceph-main/src/librbd/journal/ResetRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_JOURNAL_RESET_REQUEST_H #define CEPH_LIBRBD_JOURNAL_RESET_REQUEST_H #include "include/int_types.h" #include "include/buffer.h" #include "include/rados/librados.hpp" #include "include/rbd/librbd.hpp" #...
2,630
22.702703
77
h
null
ceph-main/src/librbd/journal/StandardPolicy.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/journal/StandardPolicy.h" #include "librbd/ImageCtx.h" #include "librbd/Journal.h" #include "librbd/asio/ContextWQ.h" #define dout_subsys ceph_subsys_rbd #undef dout_prefix #define dout_prefix *_dout << ...
894
26.121212
70
cc
null
ceph-main/src/librbd/journal/StandardPolicy.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_JOURNAL_STANDARD_POLICY_H #define CEPH_LIBRBD_JOURNAL_STANDARD_POLICY_H #include "librbd/journal/Policy.h" namespace librbd { struct ImageCtx; namespace journal { template<typename ImageCtxT = Ima...
840
20.564103
72
h
null
ceph-main/src/librbd/journal/TypeTraits.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_JOURNAL_TYPE_TRAITS_H #define CEPH_LIBRBD_JOURNAL_TYPE_TRAITS_H struct ContextWQ; namespace journal { class Future; class Journaler; class ReplayEntry; } namespace librbd { namespace journal { temp...
617
19.6
70
h
null
ceph-main/src/librbd/journal/Types.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/journal/Types.h" #include "include/ceph_assert.h" #include "include/stringify.h" #include "include/types.h" #include "common/Formatter.h" namespace librbd { namespace journal { using ceph::encode; using...
24,589
24.69488
113
cc
null
ceph-main/src/librbd/journal/Types.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_JOURNAL_TYPES_H #define CEPH_LIBRBD_JOURNAL_TYPES_H #include "cls/rbd/cls_rbd_types.h" #include "include/int_types.h" #include "include/buffer.h" #include "include/encoding.h" #include "include/types....
19,656
27.654519
88
h
null
ceph-main/src/librbd/journal/Utils.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/journal/Utils.h" #include "common/dout.h" #include "common/errno.h" #include "librbd/journal/Types.h" #define dout_subsys ceph_subsys_rbd #undef dout_prefix #define dout_prefix *_dout << "librbd::journal...
2,361
26.149425
76
cc
null
ceph-main/src/librbd/journal/Utils.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_JOURNAL_UTILS_H #define CEPH_LIBRBD_JOURNAL_UTILS_H #include "include/common_fwd.h" #include "include/int_types.h" #include "include/Context.h" #include "cls/journal/cls_journal_types.h" #include <lis...
1,729
20.358025
71
h
null
ceph-main/src/librbd/managed_lock/AcquireRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/managed_lock/AcquireRequest.h" #include "librbd/Watcher.h" #include "cls/lock/cls_lock_client.h" #include "cls/lock/cls_lock_types.h" #include "common/dout.h" #include "common/errno.h" #include "include/s...
5,791
30.308108
94
cc
null
ceph-main/src/librbd/managed_lock/AcquireRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MANAGED_LOCK_ACQUIRE_REQUEST_H #define CEPH_LIBRBD_MANAGED_LOCK_ACQUIRE_REQUEST_H #include "include/rados/librados.hpp" #include "include/int_types.h" #include "include/buffer.h" #include "msg/msg_typ...
2,727
25.485437
73
h
null
ceph-main/src/librbd/managed_lock/BreakRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/managed_lock/BreakRequest.h" #include "common/dout.h" #include "common/errno.h" #include "include/neorados/RADOS.hpp" #include "include/stringify.h" #include "cls/lock/cls_lock_client.h" #include "cls/loc...
6,969
26.88
79
cc
null
ceph-main/src/librbd/managed_lock/BreakRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MANAGED_LOCK_BREAK_REQUEST_H #define CEPH_LIBRBD_MANAGED_LOCK_BREAK_REQUEST_H #include "include/int_types.h" #include "include/buffer_fwd.h" #include "include/rados/librados_fwd.hpp" #include "msg/msg...
2,824
22.347107
75
h
null
ceph-main/src/librbd/managed_lock/GetLockerRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/managed_lock/GetLockerRequest.h" #include "cls/lock/cls_lock_client.h" #include "cls/lock/cls_lock_types.h" #include "common/dout.h" #include "common/errno.h" #include "include/stringify.h" #include "libr...
3,942
28.871212
80
cc
null
ceph-main/src/librbd/managed_lock/GetLockerRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MANAGED_LOCK_GET_LOCKER_REQUEST_H #define CEPH_LIBRBD_MANAGED_LOCK_GET_LOCKER_REQUEST_H #include "include/int_types.h" #include "include/buffer.h" #include "include/rados/librados_fwd.hpp" #include <s...
1,384
22.474576
79
h
null
ceph-main/src/librbd/managed_lock/ReacquireRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/managed_lock/ReacquireRequest.h" #include "librbd/Watcher.h" #include "cls/lock/cls_lock_client.h" #include "cls/lock/cls_lock_types.h" #include "common/dout.h" #include "common/errno.h" #include "librbd/...
2,561
31.025
90
cc
null
ceph-main/src/librbd/managed_lock/ReacquireRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MANAGED_LOCK_REACQUIRE_REQUEST_H #define CEPH_LIBRBD_MANAGED_LOCK_REACQUIRE_REQUEST_H #include "include/rados/librados.hpp" #include "include/int_types.h" #include <string> class Context; namespace ...
1,618
22.128571
78
h
null
ceph-main/src/librbd/managed_lock/ReleaseRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/managed_lock/ReleaseRequest.h" #include "cls/lock/cls_lock_client.h" #include "cls/lock/cls_lock_types.h" #include "common/dout.h" #include "common/errno.h" #include "librbd/ImageCtx.h" #include "librbd/U...
3,016
29.785714
78
cc
null
ceph-main/src/librbd/managed_lock/ReleaseRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MANAGED_LOCK_RELEASE_REQUEST_H #define CEPH_LIBRBD_MANAGED_LOCK_RELEASE_REQUEST_H #include "include/rados/librados.hpp" #include "librbd/watcher/Types.h" #include <string> class Context; class Contex...
1,571
20.534247
73
h
null
ceph-main/src/librbd/managed_lock/Types.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MANAGED_LOCK_TYPES_H #define CEPH_LIBRBD_MANAGED_LOCK_TYPES_H #include "msg/msg_types.h" #include <string> namespace librbd { namespace managed_lock { struct Locker { entity_name_t entity; std::...
1,018
20.680851
72
h
null
ceph-main/src/librbd/managed_lock/Utils.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "include/ceph_assert.h" #include "librbd/managed_lock/Utils.h" #include <sstream> namespace librbd { namespace managed_lock { namespace util { namespace { const std::string WATCHER_LOCK_COOKIE_PREFIX = "auto";...
974
21.159091
75
cc
null
ceph-main/src/librbd/managed_lock/Utils.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MANAGED_LOCK_UTILS_H #define CEPH_LIBRBD_MANAGED_LOCK_UTILS_H #include "include/int_types.h" #include <string> namespace librbd { namespace managed_lock { namespace util { const std::string &get_wat...
575
23
70
h
null
ceph-main/src/librbd/migration/FileStream.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef _LARGEFILE64_SOURCE #define _LARGEFILE64_SOURCE #endif // _LARGEFILE64_SOURCE #include "librbd/migration/FileStream.h" #include "common/dout.h" #include "common/errno.h" #include "librbd/AsioEngine.h" #include "l...
6,301
26.04721
80
cc
null
ceph-main/src/librbd/migration/FileStream.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MIGRATION_FILE_STREAM_H #define CEPH_LIBRBD_MIGRATION_FILE_STREAM_H #include "include/int_types.h" #include "librbd/migration/StreamInterface.h" #include <boost/asio/io_context.hpp> #include <boost/as...
1,846
25.768116
76
h
null
ceph-main/src/librbd/migration/FormatInterface.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MIGRATION_FORMAT_INTERFACE_H #define CEPH_LIBRBD_MIGRATION_FORMAT_INTERFACE_H #include "include/buffer_fwd.h" #include "include/int_types.h" #include "common/zipkin_trace.h" #include "librbd/Types.h" ...
1,563
27.962963
78
h
null
ceph-main/src/librbd/migration/HttpClient.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/migration/HttpClient.h" #include "common/dout.h" #include "common/errno.h" #include "librbd/AsioEngine.h" #include "librbd/ImageCtx.h" #include "librbd/Utils.h" #include "librbd/asio/Utils.h" #include "li...
28,892
29.477848
80
cc
null
ceph-main/src/librbd/migration/HttpClient.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MIGRATION_HTTP_CLIENT_H #define CEPH_LIBRBD_MIGRATION_HTTP_CLIENT_H #include "include/common_fwd.h" #include "include/int_types.h" #include "librbd/io/Types.h" #include "librbd/migration/HttpProcessor...
6,322
29.694175
80
h
null
ceph-main/src/librbd/migration/HttpProcessorInterface.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MIGRATION_HTTP_PROCESSOR_INTERFACE_H #define CEPH_LIBRBD_MIGRATION_HTTP_PROCESSOR_INTERFACE_H #include <boost/beast/http/empty_body.hpp> #include <boost/beast/http/message.hpp> namespace librbd { nam...
702
24.107143
70
h
null
ceph-main/src/librbd/migration/HttpStream.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/migration/HttpStream.h" #include "common/dout.h" #include "common/errno.h" #include "librbd/AsioEngine.h" #include "librbd/ImageCtx.h" #include "librbd/asio/Utils.h" #include "librbd/migration/HttpClient....
2,171
24.857143
80
cc
null
ceph-main/src/librbd/migration/HttpStream.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MIGRATION_HTTP_STREAM_H #define CEPH_LIBRBD_MIGRATION_HTTP_STREAM_H #include "include/int_types.h" #include "librbd/migration/StreamInterface.h" #include <boost/beast/http/message.hpp> #include <boost...
1,750
24.376812
76
h
null
ceph-main/src/librbd/migration/ImageDispatch.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/migration/ImageDispatch.h" #include "include/neorados/RADOS.hpp" #include "common/dout.h" #include "librbd/ImageCtx.h" #include "librbd/io/AioCompletion.h" #include "librbd/migration/FormatInterface.h" #...
5,231
32.324841
80
cc
null
ceph-main/src/librbd/migration/ImageDispatch.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MIGRATION_IMAGE_DISPATCH_H #define CEPH_LIBRBD_MIGRATION_IMAGE_DISPATCH_H #include "librbd/io/ImageDispatchInterface.h" #include <memory> struct Context; namespace librbd { struct ImageCtx; namesp...
3,741
35.686275
80
h
null
ceph-main/src/librbd/migration/NativeFormat.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/migration/NativeFormat.h" #include "include/neorados/RADOS.hpp" #include "common/dout.h" #include "common/errno.h" #include "librbd/ImageCtx.h" #include "librbd/ImageState.h" #include "librbd/Utils.h" #in...
9,909
30.967742
96
cc
null
ceph-main/src/librbd/migration/NativeFormat.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MIGRATION_NATIVE_FORMAT_H #define CEPH_LIBRBD_MIGRATION_NATIVE_FORMAT_H #include "include/int_types.h" #include "librbd/Types.h" #include "librbd/migration/FormatInterface.h" #include "json_spirit/jso...
2,579
30.084337
77
h
null
ceph-main/src/librbd/migration/OpenSourceImageRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/migration/OpenSourceImageRequest.h" #include "common/dout.h" #include "common/errno.h" #include "librbd/ImageCtx.h" #include "librbd/ImageState.h" #include "librbd/Utils.h" #include "librbd/io/ImageDispat...
7,603
29.416
80
cc
null
ceph-main/src/librbd/migration/OpenSourceImageRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MIGRATION_OPEN_SOURCE_IMAGE_REQUEST_H #define CEPH_LIBRBD_MIGRATION_OPEN_SOURCE_IMAGE_REQUEST_H #include "include/rados/librados_fwd.hpp" #include "librbd/Types.h" #include <map> #include <memory> st...
2,644
24.432692
82
h
null
ceph-main/src/librbd/migration/QCOW.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* Based on QEMU block/qcow.cc and block/qcow2.h, which has this license: */ /* * Block driver for the QCOW version 2 format * * Copyright (c) 2004-2006 Fabrice Bellard * * Permission is hereby granted, free of char...
15,822
32.882227
83
h
null
ceph-main/src/librbd/migration/QCOWFormat.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/migration/QCOWFormat.h" #include "common/Clock.h" #include "common/dout.h" #include "common/errno.h" #include "include/intarith.h" #include "librbd/AsioEngine.h" #include "librbd/ImageCtx.h" #include "lib...
51,801
32.507115
80
cc
null
ceph-main/src/librbd/migration/QCOWFormat.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MIGRATION_QCOW_FORMAT_H #define CEPH_LIBRBD_MIGRATION_QCOW_FORMAT_H #include "include/int_types.h" #include "librbd/Types.h" #include "librbd/migration/FormatInterface.h" #include "librbd/migration/QC...
5,918
26.919811
80
h
null
ceph-main/src/librbd/migration/RawFormat.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/migration/RawFormat.h" #include "common/dout.h" #include "common/errno.h" #include "librbd/ImageCtx.h" #include "librbd/ImageState.h" #include "librbd/Utils.h" #include "librbd/io/AioCompletion.h" #includ...
7,465
30.635593
80
cc
null
ceph-main/src/librbd/migration/RawFormat.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MIGRATION_RAW_FORMAT_H #define CEPH_LIBRBD_MIGRATION_RAW_FORMAT_H #include "include/int_types.h" #include "librbd/Types.h" #include "librbd/migration/FormatInterface.h" #include "json_spirit/json_spir...
2,455
30.088608
80
h
null
ceph-main/src/librbd/migration/RawSnapshot.cc
// -*- mode:c++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/migration/RawSnapshot.h" #include "common/dout.h" #include "common/errno.h" #include "librbd/ImageCtx.h" #include "librbd/Utils.h" #include "librbd/io/AioCompletion.h" #include "librbd/io/ReadResult.h" #i...
6,330
27.647059
79
cc
null
ceph-main/src/librbd/migration/RawSnapshot.h
// -*- mode:c++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MIGRATION_RAW_SNAPSHOT_H #define CEPH_LIBRBD_MIGRATION_RAW_SNAPSHOT_H #include "include/buffer_fwd.h" #include "include/int_types.h" #include "common/zipkin_trace.h" #include "librbd/Types.h" #include...
2,256
28.697368
80
h
null
ceph-main/src/librbd/migration/S3Stream.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/migration/S3Stream.h" #include "common/armor.h" #include "common/ceph_crypto.h" #include "common/ceph_time.h" #include "common/dout.h" #include "common/errno.h" #include "librbd/AsioEngine.h" #include "li...
6,118
29.442786
80
cc
null
ceph-main/src/librbd/migration/S3Stream.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MIGRATION_S3_STREAM_H #define CEPH_LIBRBD_MIGRATION_S3_STREAM_H #include "include/int_types.h" #include "librbd/migration/StreamInterface.h" #include <boost/beast/http/empty_body.hpp> #include <boost/...
2,039
24.822785
74
h
null
ceph-main/src/librbd/migration/SnapshotInterface.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MIGRATION_SNAPSHOT_INTERFACE_H #define CEPH_LIBRBD_MIGRATION_SNAPSHOT_INTERFACE_H #include "include/buffer_fwd.h" #include "include/int_types.h" #include "common/zipkin_trace.h" #include "librbd/Types...
1,348
26.530612
79
h
null
ceph-main/src/librbd/migration/SourceSpecBuilder.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/migration/SourceSpecBuilder.h" #include "common/dout.h" #include "librbd/ImageCtx.h" #include "librbd/migration/FileStream.h" #include "librbd/migration/HttpStream.h" #include "librbd/migration/S3Stream.h...
4,674
30.587838
80
cc
null
ceph-main/src/librbd/migration/SourceSpecBuilder.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MIGRATION_SOURCE_SPEC_BUILDER_H #define CEPH_LIBRBD_MIGRATION_SOURCE_SPEC_BUILDER_H #include "include/int_types.h" #include <json_spirit/json_spirit.h> #include <memory> #include <optional> #include <...
1,437
25.145455
79
h
null
ceph-main/src/librbd/migration/StreamInterface.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MIGRATION_STREAM_INTERFACE_H #define CEPH_LIBRBD_MIGRATION_STREAM_INTERFACE_H #include "include/buffer_fwd.h" #include "include/int_types.h" #include "librbd/io/Types.h" struct Context; namespace li...
783
22.757576
70
h
null
ceph-main/src/librbd/migration/Types.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MIGRATION_TYPES_H #define CEPH_LIBRBD_MIGRATION_TYPES_H #include <string> #include <utility> namespace librbd { namespace migration { enum UrlScheme { URL_SCHEME_HTTP, URL_SCHEME_HTTPS, }; stru...
936
20.790698
77
h
null
ceph-main/src/librbd/migration/Utils.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/migration/Utils.h" #include "common/dout.h" #include "common/errno.h" #include <boost/lexical_cast.hpp> #include <regex> namespace librbd { namespace migration { namespace util { #define dout_subsys cep...
4,523
32.761194
80
cc
null
ceph-main/src/librbd/migration/Utils.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MIGRATION_UTILS_H #define CEPH_LIBRBD_MIGRATION_UTILS_H #include "include/common_fwd.h" #include "librbd/io/Types.h" #include "librbd/migration/Types.h" #include <optional> #include <string> namespac...
943
29.451613
77
h
null
ceph-main/src/librbd/mirror/DemoteRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/mirror/DemoteRequest.h" #include "common/dout.h" #include "common/errno.h" #include "cls/rbd/cls_rbd_client.h" #include "librbd/ExclusiveLock.h" #include "librbd/ImageCtx.h" #include "librbd/ImageState.h"...
5,882
26.110599
80
cc
null
ceph-main/src/librbd/mirror/DemoteRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MIRROR_DEMOTE_REQUEST_H #define CEPH_LIBRBD_MIRROR_DEMOTE_REQUEST_H #include "cls/rbd/cls_rbd_types.h" #include "librbd/mirror/Types.h" struct Context; namespace librbd { struct ImageCtx; namespac...
1,723
18.816092
74
h
null
ceph-main/src/librbd/mirror/DisableRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/mirror/DisableRequest.h" #include "common/dout.h" #include "common/errno.h" #include "cls/journal/cls_journal_client.h" #include "journal/Journaler.h" #include "librbd/ImageCtx.h" #include "librbd/ImageSt...
13,445
27.0125
80
cc
null
ceph-main/src/librbd/mirror/DisableRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MIRROR_DISABLE_REQUEST_H #define CEPH_LIBRBD_MIRROR_DISABLE_REQUEST_H #include "include/buffer.h" #include "common/ceph_mutex.h" #include "cls/journal/cls_journal_types.h" #include "cls/rbd/cls_rbd_ty...
5,050
34.076389
79
h
null
ceph-main/src/librbd/mirror/EnableRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/mirror/EnableRequest.h" #include "common/dout.h" #include "common/errno.h" #include "cls/rbd/cls_rbd_client.h" #include "librbd/ImageState.h" #include "librbd/Journal.h" #include "librbd/Utils.h" #include...
9,157
26.751515
80
cc
null
ceph-main/src/librbd/mirror/EnableRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MIRROR_ENABLE_REQUEST_H #define CEPH_LIBRBD_MIRROR_ENABLE_REQUEST_H #include "include/buffer_fwd.h" #include "include/rados/librados_fwd.hpp" #include "include/rbd/librbd.hpp" #include "cls/rbd/cls_rb...
4,018
28.551471
80
h
null
ceph-main/src/librbd/mirror/GetInfoRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/mirror/GetInfoRequest.h" #include "common/dout.h" #include "common/errno.h" #include "cls/rbd/cls_rbd_client.h" #include "librbd/ImageCtx.h" #include "librbd/ImageState.h" #include "librbd/Journal.h" #inc...
8,718
28.962199
80
cc
null
ceph-main/src/librbd/mirror/GetInfoRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MIRROR_GET_INFO_REQUEST_H #define CEPH_LIBRBD_MIRROR_GET_INFO_REQUEST_H #include "common/snap_types.h" #include "include/buffer.h" #include "include/common_fwd.h" #include "include/rados/librados.hpp"...
3,844
30.008065
79
h
null
ceph-main/src/librbd/mirror/GetStatusRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/mirror/GetStatusRequest.h" #include "common/dout.h" #include "common/errno.h" #include "cls/rbd/cls_rbd_client.h" #include "librbd/ImageCtx.h" #include "librbd/ImageState.h" #include "librbd/Journal.h" #i...
3,208
26.42735
79
cc
null
ceph-main/src/librbd/mirror/GetStatusRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MIRROR_GET_STATUS_REQUEST_H #define CEPH_LIBRBD_MIRROR_GET_STATUS_REQUEST_H #include "include/buffer.h" #include "librbd/mirror/Types.h" #include <string> struct Context; namespace cls { namespace rb...
2,124
23.425287
77
h
null
ceph-main/src/librbd/mirror/GetUuidRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/mirror/GetUuidRequest.h" #include "common/dout.h" #include "common/errno.h" #include "cls/rbd/cls_rbd_client.h" #include "librbd/ImageCtx.h" #include "librbd/Utils.h" #define dout_subsys ceph_subsys_rbd ...
2,198
24.275862
75
cc
null
ceph-main/src/librbd/mirror/GetUuidRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MIRROR_GET_UUID_REQUEST_H #define CEPH_LIBRBD_MIRROR_GET_UUID_REQUEST_H #include "include/buffer.h" #include "include/rados/librados.hpp" #include "cls/rbd/cls_rbd_types.h" #include <string> #include...
1,351
18.314286
79
h
null
ceph-main/src/librbd/mirror/ImageRemoveRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/mirror/ImageRemoveRequest.h" #include "common/dout.h" #include "common/errno.h" #include "cls/rbd/cls_rbd_client.h" #include "librbd/MirroringWatcher.h" #include "librbd/Utils.h" #define dout_subsys ceph...
2,680
26.080808
79
cc
null
ceph-main/src/librbd/mirror/ImageRemoveRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MIRROR_IMAGE_REMOVE_REQUEST_H #define CEPH_LIBRBD_MIRROR_IMAGE_REMOVE_REQUEST_H #include "include/rados/librados.hpp" #include "common/ceph_mutex.h" #include "cls/rbd/cls_rbd_types.h" #include <strin...
1,717
21.025641
80
h
null
ceph-main/src/librbd/mirror/ImageStateUpdateRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/mirror/ImageStateUpdateRequest.h" #include "common/dout.h" #include "common/errno.h" #include "cls/rbd/cls_rbd_client.h" #include "librbd/MirroringWatcher.h" #include "librbd/Utils.h" #define dout_subsys...
4,136
26.217105
79
cc
null
ceph-main/src/librbd/mirror/ImageStateUpdateRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MIRROR_IMAGE_STATE_UPDATE_REQUEST_H #define CEPH_LIBRBD_MIRROR_IMAGE_STATE_UPDATE_REQUEST_H #include "include/rados/librados.hpp" #include "common/ceph_mutex.h" #include "cls/rbd/cls_rbd_types.h" #inc...
2,026
20.795699
80
h
null
ceph-main/src/librbd/mirror/PromoteRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/mirror/PromoteRequest.h" #include "common/dout.h" #include "common/errno.h" #include "cls/rbd/cls_rbd_client.h" #include "librbd/ImageCtx.h" #include "librbd/ImageState.h" #include "librbd/Journal.h" #inc...
3,337
27.775862
94
cc
null
ceph-main/src/librbd/mirror/PromoteRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MIRROR_PROMOTE_REQUEST_H #define CEPH_LIBRBD_MIRROR_PROMOTE_REQUEST_H #include "cls/rbd/cls_rbd_types.h" #include "librbd/mirror/Types.h" struct Context; namespace librbd { struct ImageCtx; namesp...
1,479
18.220779
71
h
null
ceph-main/src/librbd/mirror/Types.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MIRROR_TYPES_H #define CEPH_LIBRBD_MIRROR_TYPES_H namespace librbd { namespace mirror { enum PromotionState { PROMOTION_STATE_UNKNOWN, PROMOTION_STATE_PRIMARY, PROMOTION_STATE_NON_PRIMARY, PR...
428
18.5
70
h
null
ceph-main/src/librbd/mirror/snapshot/CreateNonPrimaryRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/mirror/snapshot/CreateNonPrimaryRequest.h" #include "common/dout.h" #include "common/errno.h" #include "cls/rbd/cls_rbd_client.h" #include "librbd/ImageCtx.h" #include "librbd/ImageState.h" #include "libr...
7,423
26.094891
85
cc
null
ceph-main/src/librbd/mirror/snapshot/CreateNonPrimaryRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MIRROR_SNAPSHOT_CREATE_NON_PRIMARY_REQUEST_H #define CEPH_LIBRBD_MIRROR_SNAPSHOT_CREATE_NON_PRIMARY_REQUEST_H #include "include/buffer.h" #include "cls/rbd/cls_rbd_types.h" #include "librbd/Types.h" #...
3,139
24.322581
90
h
null
ceph-main/src/librbd/mirror/snapshot/CreatePrimaryRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/mirror/snapshot/CreatePrimaryRequest.h" #include "common/dout.h" #include "common/errno.h" #include "cls/rbd/cls_rbd_client.h" #include "librbd/ImageCtx.h" #include "librbd/ImageState.h" #include "librbd/...
8,036
28.225455
82
cc
null
ceph-main/src/librbd/mirror/snapshot/CreatePrimaryRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MIRROR_SNAPSHOT_CREATE_PRIMARY_REQUEST_H #define CEPH_LIBRBD_MIRROR_SNAPSHOT_CREATE_PRIMARY_REQUEST_H #include "include/buffer.h" #include "include/rados/librados.hpp" #include "cls/rbd/cls_rbd_types....
2,689
24.140187
87
h
null
ceph-main/src/librbd/mirror/snapshot/DemoteRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/mirror/snapshot/DemoteRequest.h" #include "common/dout.h" #include "common/errno.h" #include "cls/rbd/cls_rbd_client.h" #include "librbd/ImageCtx.h" #include "librbd/ImageState.h" #include "librbd/Operati...
3,049
26.477477
76
cc
null
ceph-main/src/librbd/mirror/snapshot/DemoteRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MIRROR_SNAPSHOT_DEMOTE_REQUEST_H #define CEPH_LIBRBD_MIRROR_SNAPSHOT_DEMOTE_REQUEST_H #include "include/buffer.h" #include <string> #include <set> struct Context; namespace librbd { struct ImageCt...
1,593
19.701299
80
h
null
ceph-main/src/librbd/mirror/snapshot/GetImageStateRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/mirror/snapshot/GetImageStateRequest.h" #include "common/dout.h" #include "common/errno.h" #include "librbd/ImageCtx.h" #include "librbd/Utils.h" #include "librbd/mirror/snapshot/Types.h" #include "librbd...
2,818
23.513043
82
cc
null
ceph-main/src/librbd/mirror/snapshot/GetImageStateRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MIRROR_SNAPSHOT_GET_IMAGE_STATE_REQUEST_H #define CEPH_LIBRBD_MIRROR_SNAPSHOT_GET_IMAGE_STATE_REQUEST_H #include "include/buffer.h" #include "include/types.h" struct Context; namespace librbd { str...
1,724
21.402597
87
h
null
ceph-main/src/librbd/mirror/snapshot/ImageMeta.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/mirror/snapshot/ImageMeta.h" #include "common/dout.h" #include "common/errno.h" #include "cls/rbd/cls_rbd_client.h" #include "json_spirit/json_spirit.h" #include "librbd/ImageCtx.h" #include "librbd/Utils...
5,464
30.051136
78
cc
null
ceph-main/src/librbd/mirror/snapshot/ImageMeta.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_MIRROR_SNAPSHOT_IMAGE_META_H #define CEPH_LIBRBD_MIRROR_SNAPSHOT_IMAGE_META_H #include "include/rados/librados.hpp" #include <string> struct Context; namespace librbd { struct ImageCtx; namespace ...
1,467
17.582278
76
h
null
ceph-main/src/librbd/mirror/snapshot/PromoteRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/mirror/snapshot/PromoteRequest.h" #include "common/Timer.h" #include "common/dout.h" #include "common/errno.h" #include "cls/rbd/cls_rbd_client.h" #include "librbd/ExclusiveLock.h" #include "librbd/ImageC...
11,030
26.169951
80
cc