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/librbd/object_map/Request.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_OBJECT_MAP_REQUEST_H #define CEPH_LIBRBD_OBJECT_MAP_REQUEST_H #include "include/int_types.h" #include "librbd/AsyncRequest.h" class Context; namespace librbd { class ImageCtx; namespace object_map...
1,401
19.925373
70
h
null
ceph-main/src/librbd/object_map/ResizeRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/object_map/ResizeRequest.h" #include "common/dout.h" #include "common/errno.h" #include "osdc/Striper.h" #include "librbd/ImageCtx.h" #include "librbd/ObjectMap.h" #include "cls/lock/cls_lock_client.h" #...
2,144
31.5
88
cc
null
ceph-main/src/librbd/object_map/ResizeRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_OBJECT_MAP_RESIZE_REQUEST_H #define CEPH_LIBRBD_OBJECT_MAP_RESIZE_REQUEST_H #include "include/int_types.h" #include "librbd/object_map/Request.h" #include "common/bit_vector.hpp" class Context; name...
1,340
24.788462
73
h
null
ceph-main/src/librbd/object_map/SnapshotCreateRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/object_map/SnapshotCreateRequest.h" #include "common/dout.h" #include "librbd/ImageCtx.h" #include "librbd/ObjectMap.h" #include "cls/lock/cls_lock_client.h" #include <iostream> #define dout_subsys ceph_...
4,253
27.743243
86
cc
null
ceph-main/src/librbd/object_map/SnapshotCreateRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_OBJECT_MAP_SNAPSHOT_CREATE_REQUEST_H #define CEPH_LIBRBD_OBJECT_MAP_SNAPSHOT_CREATE_REQUEST_H #include "include/int_types.h" #include "common/bit_vector.hpp" #include "librbd/object_map/Request.h" cl...
1,791
21.123457
81
h
null
ceph-main/src/librbd/object_map/SnapshotRemoveRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/object_map/SnapshotRemoveRequest.h" #include "common/dout.h" #include "common/errno.h" #include "librbd/ImageCtx.h" #include "librbd/ObjectMap.h" #include "librbd/object_map/InvalidateRequest.h" #include ...
7,246
30.785088
88
cc
null
ceph-main/src/librbd/object_map/SnapshotRemoveRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_OBJECT_MAP_SNAPSHOT_REMOVE_REQUEST_H #define CEPH_LIBRBD_OBJECT_MAP_SNAPSHOT_REMOVE_REQUEST_H #include "include/int_types.h" #include "include/buffer.h" #include "common/bit_vector.hpp" #include "libr...
2,517
27.292135
81
h
null
ceph-main/src/librbd/object_map/SnapshotRollbackRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/object_map/SnapshotRollbackRequest.h" #include "common/dout.h" #include "librbd/ImageCtx.h" #include "librbd/ObjectMap.h" #include "librbd/object_map/InvalidateRequest.h" #include "cls/lock/cls_lock_clien...
3,848
28.159091
86
cc
null
ceph-main/src/librbd/object_map/SnapshotRollbackRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_OBJECT_MAP_SNAPSHOT_ROLLBACK_REQUEST_H #define CEPH_LIBRBD_OBJECT_MAP_SNAPSHOT_ROLLBACK_REQUEST_H #include "include/int_types.h" #include "librbd/object_map/Request.h" class Context; namespace librb...
1,727
22.04
79
h
null
ceph-main/src/librbd/object_map/Types.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_OBJECT_MAP_TYPES_H #define CEPH_LIBRBD_OBJECT_MAP_TYPES_H namespace librbd { namespace object_map { enum DiffState { DIFF_STATE_HOLE = 0, /* unchanged hole */ DIFF_STATE_DATA = 1,...
528
24.190476
70
h
null
ceph-main/src/librbd/object_map/UnlockRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/object_map/UnlockRequest.h" #include "cls/lock/cls_lock_client.h" #include "common/dout.h" #include "common/errno.h" #include "librbd/ImageCtx.h" #include "librbd/ObjectMap.h" #include "librbd/Utils.h" #...
1,885
27.149254
77
cc
null
ceph-main/src/librbd/object_map/UnlockRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_OBJECT_MAP_UNLOCK_REQUEST_H #define CEPH_LIBRBD_OBJECT_MAP_UNLOCK_REQUEST_H class Context; namespace librbd { class ImageCtx; namespace object_map { template <typename ImageCtxT = ImageCtx> class ...
950
18.8125
74
h
null
ceph-main/src/librbd/object_map/UpdateRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/object_map/UpdateRequest.h" #include "include/rbd/object_map_types.h" #include "include/stringify.h" #include "common/dout.h" #include "librbd/ImageCtx.h" #include "librbd/ObjectMap.h" #include "librbd/Ut...
3,980
29.623077
88
cc
null
ceph-main/src/librbd/object_map/UpdateRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_OBJECT_MAP_UPDATE_REQUEST_H #define CEPH_LIBRBD_OBJECT_MAP_UPDATE_REQUEST_H #include "include/int_types.h" #include "librbd/object_map/Request.h" #include "common/bit_vector.hpp" #include "common/zipk...
3,250
29.383178
80
h
null
ceph-main/src/librbd/operation/DisableFeaturesRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/operation/DisableFeaturesRequest.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/I...
19,969
29.442073
84
cc
null
ceph-main/src/librbd/operation/DisableFeaturesRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_OPERATION_DISABLE_FEATURES_REQUEST_H #define CEPH_LIBRBD_OPERATION_DISABLE_FEATURES_REQUEST_H #include "librbd/ImageCtx.h" #include "librbd/operation/Request.h" #include "cls/rbd/cls_rbd_client.h" cl...
4,650
26.040698
82
h
null
ceph-main/src/librbd/operation/EnableFeaturesRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/operation/EnableFeaturesRequest.h" #include "common/dout.h" #include "common/errno.h" #include "librbd/ExclusiveLock.h" #include "librbd/ImageCtx.h" #include "librbd/ImageState.h" #include "librbd/Journal...
14,977
29.258586
79
cc
null
ceph-main/src/librbd/operation/EnableFeaturesRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_OPERATION_ENABLE_FEATURES_REQUEST_H #define CEPH_LIBRBD_OPERATION_ENABLE_FEATURES_REQUEST_H #include "librbd/operation/Request.h" class Context; namespace librbd { class ImageCtx; namespace operat...
3,231
22.764706
81
h
null
ceph-main/src/librbd/operation/FlattenRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/operation/FlattenRequest.h" #include "librbd/AsyncObjectThrottle.h" #include "librbd/ExclusiveLock.h" #include "librbd/ImageCtx.h" #include "librbd/crypto/CryptoInterface.h" #include "librbd/crypto/Encryp...
7,802
28.334586
82
cc
null
ceph-main/src/librbd/operation/FlattenRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_OPERATION_FLATTEN_REQUEST_H #define CEPH_LIBRBD_OPERATION_FLATTEN_REQUEST_H #include "librbd/operation/Request.h" namespace librbd { class ImageCtx; class ProgressContext; namespace operation { tem...
1,739
19.714286
74
h
null
ceph-main/src/librbd/operation/MetadataRemoveRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/operation/MetadataRemoveRequest.h" #include "common/dout.h" #include "common/errno.h" #include "librbd/ImageCtx.h" #define dout_subsys ceph_subsys_rbd #undef dout_prefix #define dout_prefix *_dout << "li...
1,748
27.672131
74
cc
null
ceph-main/src/librbd/operation/MetadataRemoveRequest.h
// -*- mode:C++; tab-width:8; c-basic-offremove:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_OPERATION_METADATA_REMOVE_REQUEST_H #define CEPH_LIBRBD_OPERATION_METADATA_REMOVE_REQUEST_H #include "librbd/operation/Request.h" #include <iosfwd> #include <string> class Context; namespace libr...
1,048
22.311111
81
h
null
ceph-main/src/librbd/operation/MetadataSetRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/operation/MetadataSetRequest.h" #include "common/dout.h" #include "common/errno.h" #include "librbd/ImageCtx.h" #define dout_subsys ceph_subsys_rbd #undef dout_prefix #define dout_prefix *_dout << "librb...
1,821
27.920635
72
cc
null
ceph-main/src/librbd/operation/MetadataSetRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_OPERATION_METADATA_SET_REQUEST_H #define CEPH_LIBRBD_OPERATION_METADATA_SET_REQUEST_H #include "librbd/operation/Request.h" #include "include/buffer.h" #include <string> #include <map> class Context;...
1,145
22.875
78
h
null
ceph-main/src/librbd/operation/MigrateRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/operation/MigrateRequest.h" #include "common/dout.h" #include "common/errno.h" #include "librbd/AsyncObjectThrottle.h" #include "librbd/ExclusiveLock.h" #include "librbd/ImageCtx.h" #include "librbd/Utils...
6,993
28.263598
82
cc
null
ceph-main/src/librbd/operation/MigrateRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_OPERATION_MIGRATE_REQUEST_H #define CEPH_LIBRBD_OPERATION_MIGRATE_REQUEST_H #include "librbd/operation/Request.h" #include "librbd/Types.h" namespace librbd { class ImageCtx; class ProgressContext; ...
1,477
20.42029
74
h
null
ceph-main/src/librbd/operation/ObjectMapIterate.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/operation/ObjectMapIterate.h" #include "common/dout.h" #include "common/errno.h" #include "osdc/Striper.h" #include "librbd/AsyncObjectThrottle.h" #include "librbd/ExclusiveLock.h" #include "librbd/ImageC...
8,962
28.006472
84
cc
null
ceph-main/src/librbd/operation/ObjectMapIterate.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_OPERATION_OBJECT_MAP_ITERATE_H #define CEPH_LIBRBD_OPERATION_OBJECT_MAP_ITERATE_H #include <iostream> #include <atomic> #include "include/int_types.h" #include "include/rbd/object_map_types.h" #includ...
1,633
23.757576
83
h
null
ceph-main/src/librbd/operation/RebuildObjectMapRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/operation/RebuildObjectMapRequest.h" #include "common/dout.h" #include "common/errno.h" #include "osdc/Striper.h" #include "librbd/AsyncObjectThrottle.h" #include "librbd/ExclusiveLock.h" #include "librbd...
7,683
29.613546
80
cc
null
ceph-main/src/librbd/operation/RebuildObjectMapRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_OPERATION_REBUILD_OBJECT_MAP_REQUEST_H #define CEPH_LIBRBD_OPERATION_REBUILD_OBJECT_MAP_REQUEST_H #include "include/int_types.h" #include "librbd/AsyncRequest.h" namespace librbd { class ImageCtx; cl...
2,232
25.270588
83
h
null
ceph-main/src/librbd/operation/RenameRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/operation/RenameRequest.h" #include "common/dout.h" #include "common/errno.h" #include "include/rados/librados.hpp" #include "librbd/ImageCtx.h" #include "librbd/internal.h" #include "librbd/Utils.h" #de...
7,682
28.77907
81
cc
null
ceph-main/src/librbd/operation/RenameRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_RENAME_REQUEST_H #define CEPH_LIBRBD_RENAME_REQUEST_H #include "librbd/operation/Request.h" #include <string> class Context; namespace librbd { class ImageCtx; namespace operation { template <typ...
1,884
18.635417
73
h
null
ceph-main/src/librbd/operation/Request.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/operation/Request.h" #include "common/dout.h" #include "common/errno.h" #include "librbd/ImageCtx.h" #include "librbd/asio/ContextWQ.h" #define dout_subsys ceph_subsys_rbd #undef dout_prefix #define dout...
5,347
28.065217
78
cc
null
ceph-main/src/librbd/operation/Request.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_OPERATION_REQUEST_H #define CEPH_LIBRBD_OPERATION_REQUEST_H #include "librbd/AsyncRequest.h" #include "include/Context.h" #include "librbd/Utils.h" #include "librbd/Journal.h" namespace librbd { cla...
2,749
24.700935
72
h
null
ceph-main/src/librbd/operation/ResizeRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/operation/ResizeRequest.h" #include "librbd/ExclusiveLock.h" #include "librbd/ImageCtx.h" #include "librbd/internal.h" #include "librbd/ObjectMap.h" #include "librbd/Utils.h" #include "librbd/io/AioComple...
14,389
29.813704
96
cc
null
ceph-main/src/librbd/operation/ResizeRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_OPERATION_RESIZE_REQUEST_H #define CEPH_LIBRBD_OPERATION_RESIZE_REQUEST_H #include "librbd/operation/Request.h" #include "include/xlist.h" namespace librbd { class ImageCtx; class ProgressContext; n...
5,353
33.101911
86
h
null
ceph-main/src/librbd/operation/SnapshotCreateRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "cls/rbd/cls_rbd_types.h" #include "librbd/operation/SnapshotCreateRequest.h" #include "common/dout.h" #include "common/errno.h" #include "librbd/ExclusiveLock.h" #include "librbd/ImageCtx.h" #include "librbd/Ima...
14,041
30.204444
88
cc
null
ceph-main/src/librbd/operation/SnapshotCreateRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_OPERATION_SNAPSHOT_CREATE_REQUEST_H #define CEPH_LIBRBD_OPERATION_SNAPSHOT_CREATE_REQUEST_H #include "cls/rbd/cls_rbd_types.h" #include "librbd/Types.h" #include "librbd/operation/Request.h" #include ...
5,112
33.315436
81
h
null
ceph-main/src/librbd/operation/SnapshotLimitRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/operation/SnapshotLimitRequest.h" #include "common/dout.h" #include "common/errno.h" #include "librbd/ImageCtx.h" #define dout_subsys ceph_subsys_rbd #undef dout_prefix #define dout_prefix *_dout << "lib...
1,793
25.776119
80
cc
null
ceph-main/src/librbd/operation/SnapshotLimitRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_OPERATION_SNAPSHOT_LIMIT_REQUEST_H #define CEPH_LIBRBD_OPERATION_SNAPSHOT_LIMIT_REQUEST_H #include "librbd/operation/Request.h" #include <iosfwd> #include <string> class Context; namespace librbd { ...
1,018
21.644444
80
h
null
ceph-main/src/librbd/operation/SnapshotProtectRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/operation/SnapshotProtectRequest.h" #include "common/dout.h" #include "common/errno.h" #include "librbd/ImageCtx.h" #define dout_subsys ceph_subsys_rbd #undef dout_prefix #define dout_prefix *_dout << "l...
3,244
26.268908
82
cc
null
ceph-main/src/librbd/operation/SnapshotProtectRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_OPERATION_SNAPSHOT_PROTECT_REQUEST_H #define CEPH_LIBRBD_OPERATION_SNAPSHOT_PROTECT_REQUEST_H #include "librbd/operation/Request.h" #include <string> class Context; namespace librbd { class ImageCt...
1,469
20.304348
82
h
null
ceph-main/src/librbd/operation/SnapshotRemoveRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/operation/SnapshotRemoveRequest.h" #include "common/dout.h" #include "common/errno.h" #include "include/ceph_assert.h" #include "cls/rbd/cls_rbd_client.h" #include "librbd/ImageCtx.h" #include "librbd/Obj...
13,768
26.211462
80
cc
null
ceph-main/src/librbd/operation/SnapshotRemoveRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_OPERATION_SNAPSHOT_REMOVE_REQUEST_H #define CEPH_LIBRBD_OPERATION_SNAPSHOT_REMOVE_REQUEST_H #include "librbd/operation/Request.h" #include "include/buffer.h" #include "librbd/Types.h" #include <string...
3,047
22.627907
81
h
null
ceph-main/src/librbd/operation/SnapshotRenameRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/operation/SnapshotRenameRequest.h" #include "common/dout.h" #include "common/errno.h" #include "librbd/ImageCtx.h" #define dout_subsys ceph_subsys_rbd #undef dout_prefix #define dout_prefix *_dout << "li...
2,978
27.92233
81
cc
null
ceph-main/src/librbd/operation/SnapshotRenameRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_OPERATION_SNAPSHOT_RENAME_REQUEST_H #define CEPH_LIBRBD_OPERATION_SNAPSHOT_RENAME_REQUEST_H #include "librbd/operation/Request.h" #include <string> class Context; namespace librbd { class ImageCtx;...
1,288
19.140625
81
h
null
ceph-main/src/librbd/operation/SnapshotRollbackRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/operation/SnapshotRollbackRequest.h" #include "include/rados/librados.hpp" #include "common/dout.h" #include "common/errno.h" #include "librbd/AsyncObjectThrottle.h" #include "librbd/ImageCtx.h" #include ...
13,321
30.345882
84
cc
null
ceph-main/src/librbd/operation/SnapshotRollbackRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_OPERATION_SNAPSHOT_ROLLBACK_REQUEST_H #define CEPH_LIBRBD_OPERATION_SNAPSHOT_ROLLBACK_REQUEST_H #include "librbd/operation/Request.h" #include "librbd/ImageCtx.h" #include "librbd/internal.h" #include...
3,587
28.170732
83
h
null
ceph-main/src/librbd/operation/SnapshotUnprotectRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/operation/SnapshotUnprotectRequest.h" #include "include/rados/librados.hpp" #include "include/stringify.h" #include "common/dout.h" #include "common/errno.h" #include "librbd/AsyncObjectThrottle.h" #inclu...
10,926
29.867232
104
cc
null
ceph-main/src/librbd/operation/SnapshotUnprotectRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_OPERATION_SNAPSHOT_UNPROTECT_REQUEST_H #define CEPH_LIBRBD_OPERATION_SNAPSHOT_UNPROTECT_REQUEST_H #include "librbd/operation/Request.h" #include <string> class Context; namespace librbd { class Ima...
2,390
24.168421
84
h
null
ceph-main/src/librbd/operation/SparsifyRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/operation/SparsifyRequest.h" #include "cls/rbd/cls_rbd_client.h" #include "common/dout.h" #include "common/errno.h" #include "include/err.h" #include "librbd/AsyncObjectThrottle.h" #include "librbd/Exclus...
14,249
26.403846
82
cc
null
ceph-main/src/librbd/operation/SparsifyRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_OPERATION_SPARSIFY_REQUEST_H #define CEPH_LIBRBD_OPERATION_SPARSIFY_REQUEST_H #include "librbd/operation/Request.h" #include "common/snap_types.h" namespace librbd { class ImageCtx; class ProgressCon...
1,404
20.615385
79
h
null
ceph-main/src/librbd/operation/TrimRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/operation/TrimRequest.h" #include "librbd/AsyncObjectThrottle.h" #include "librbd/ExclusiveLock.h" #include "librbd/ImageCtx.h" #include "librbd/internal.h" #include "librbd/ObjectMap.h" #include "librbd/...
12,254
30.997389
82
cc
null
ceph-main/src/librbd/operation/TrimRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_OPERATION_TRIM_REQUEST_H #define CEPH_LIBRBD_OPERATION_TRIM_REQUEST_H #include "librbd/AsyncRequest.h" namespace librbd { class ImageCtx; class ProgressContext; namespace operation { template <type...
3,361
30.12963
76
h
null
ceph-main/src/librbd/plugin/Api.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "common/Timer.h" #include "librbd/plugin/Api.h" #include "librbd/ImageCtx.h" #include "librbd/io/AioCompletion.h" #include "librbd/io/Utils.h" #include "librbd/Operations.h" #include "librbd/Utils.h" namespace l...
2,862
29.784946
75
cc
null
ceph-main/src/librbd/plugin/Api.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_PLUGIN_API_H #define CEPH_LIBRBD_PLUGIN_API_H #include "common/Timer.h" #include "common/ceph_mutex.h" #include "include/common_fwd.h" #include "include/int_types.h" #include "include/rados/librados.h...
2,076
23.435294
76
h
null
ceph-main/src/librbd/plugin/ParentCache.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/plugin/ParentCache.h" #include "ceph_ver.h" #include "common/dout.h" #include "common/errno.h" #include "common/PluginRegistry.h" #include "librbd/ImageCtx.h" #include "librbd/cache/ParentCacheObjectDispa...
2,338
27.52439
80
cc
null
ceph-main/src/librbd/plugin/ParentCache.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_PLUGIN_PARENT_CACHE_H #define CEPH_LIBRBD_PLUGIN_PARENT_CACHE_H #include "librbd/plugin/Types.h" #include "include/Context.h" namespace librbd { struct ImageCtx; namespace plugin { template <typen...
927
22.794872
70
h
null
ceph-main/src/librbd/plugin/Types.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_PLUGIN_TYPES_H #define CEPH_LIBRBD_PLUGIN_TYPES_H #include "include/common_fwd.h" #include "include/Context.h" #include "common/PluginRegistry.h" #include "librbd/cache/ImageWriteback.h" namespace li...
1,152
24.065217
80
h
null
ceph-main/src/librbd/plugin/WriteLogImageCache.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "ceph_ver.h" #include "common/dout.h" #include "common/errno.h" #include "common/PluginRegistry.h" #include "librbd/ImageCtx.h" #include "librbd/cache/WriteLogImageDispatch.h" #include "librbd/cache/ImageWritebac...
3,129
28.809524
81
cc
null
ceph-main/src/librbd/plugin/WriteLogImageCache.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_PLUGIN_WRITELOG_IMAGE_CACHE_H #define CEPH_LIBRBD_PLUGIN_WRITELOG_IMAGE_CACHE_H #include "librbd/plugin/Types.h" #include "include/Context.h" namespace librbd { struct ImageCtx; namespace plugin { ...
1,455
25.962963
75
h
null
ceph-main/src/librbd/trash/MoveRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/trash/MoveRequest.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/Utils.h" #define d...
3,186
24.094488
80
cc
null
ceph-main/src/librbd/trash/MoveRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_TRASH_MOVE_REQUEST_H #define CEPH_LIBRBD_TRASH_MOVE_REQUEST_H #include "include/common_fwd.h" #include "include/utime.h" #include "include/rados/librados.hpp" #include "cls/rbd/cls_rbd_types.h" #inclu...
1,897
20.568182
78
h
null
ceph-main/src/librbd/trash/RemoveRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/trash/RemoveRequest.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" ...
4,427
24.894737
80
cc
null
ceph-main/src/librbd/trash/RemoveRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_TRASH_REMOVE_REQUEST_H #define CEPH_LIBRBD_TRASH_REMOVE_REQUEST_H #include "include/common_fwd.h" #include "include/utime.h" #include "include/rados/librados.hpp" #include "cls/rbd/cls_rbd_types.h" #i...
3,589
29.168067
79
h
null
ceph-main/src/librbd/trash_watcher/Types.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "common/Formatter.h" #include "include/ceph_assert.h" #include "include/stringify.h" #include "librbd/trash_watcher/Types.h" #include "librbd/watcher/Utils.h" namespace librbd { namespace trash_watcher { namesp...
3,267
23.946565
82
cc
null
ceph-main/src/librbd/trash_watcher/Types.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_TRASH_WATCHER_TYPES_H #define CEPH_LIBRBD_TRASH_WATCHER_TYPES_H #include "include/int_types.h" #include "include/buffer_fwd.h" #include "include/encoding.h" #include "cls/rbd/cls_rbd_types.h" #include...
2,375
23.244898
79
h
null
ceph-main/src/librbd/watcher/Notifier.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/watcher/Notifier.h" #include "librbd/ImageCtx.h" #include "librbd/Utils.h" #include "librbd/asio/ContextWQ.h" #include "librbd/watcher/Types.h" #define dout_subsys ceph_subsys_rbd #undef dout_prefix #def...
2,897
27.98
80
cc
null
ceph-main/src/librbd/watcher/Notifier.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_WATCHER_NOTIFIER_H #define CEPH_LIBRBD_WATCHER_NOTIFIER_H #include "include/int_types.h" #include "include/buffer_fwd.h" #include "include/Context.h" #include "include/rados/librados.hpp" #include "co...
1,437
21.123077
76
h
null
ceph-main/src/librbd/watcher/RewatchRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/watcher/RewatchRequest.h" #include "common/ceph_mutex.h" #include "common/errno.h" #include "librbd/Utils.h" #define dout_subsys ceph_subsys_rbd #undef dout_prefix #define dout_prefix *_dout << "librbd::...
2,987
26.412844
79
cc
null
ceph-main/src/librbd/watcher/RewatchRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_WATCHER_REWATCH_REQUEST_H #define CEPH_LIBRBD_WATCHER_REWATCH_REQUEST_H #include "common/ceph_mutex.h" #include "include/int_types.h" #include "include/rados/librados.hpp" struct Context; namespace ...
1,697
21.342105
80
h
null
ceph-main/src/librbd/watcher/Types.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/watcher/Types.h" #include "common/Formatter.h" namespace librbd { namespace watcher { void ClientId::encode(bufferlist &bl) const { using ceph::encode; encode(gid, bl); encode(handle, bl); } void...
1,041
21.652174
70
cc
null
ceph-main/src/librbd/watcher/Types.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_WATCHER_TYPES_H #define CEPH_LIBRBD_WATCHER_TYPES_H #include "include/int_types.h" #include "include/buffer_fwd.h" #include "include/encoding.h" namespace ceph { class Formatter; } namespace librbd ...
1,597
21.194444
71
h
null
ceph-main/src/librbd/watcher/Utils.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LIBRBD_WATCHER_UTILS_H #define CEPH_LIBRBD_WATCHER_UTILS_H #include "include/buffer_fwd.h" #include "include/encoding.h" #include "include/Context.h" #include "librbd/Watcher.h" namespace ceph { class Forma...
1,804
23.066667
70
h
null
ceph-main/src/log/Entry.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef __CEPH_LOG_ENTRY_H #define __CEPH_LOG_ENTRY_H #include "log/LogClock.h" #include "common/StackStringStream.h" #include "boost/container/small_vector.hpp" #include <pthread.h> #include <string_view> namespace...
2,598
21.405172
80
h
null
ceph-main/src/log/Log.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "Log.h" #include "common/errno.h" #include "common/safe_io.h" #include "common/Graylog.h" #include "common/Journald.h" #include "common/valgrind.h" #include "include/ceph_assert.h" #include "include/compat.h" #...
14,755
23.390083
127
cc
null
ceph-main/src/log/Log.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef __CEPH_LOG_LOG_H #define __CEPH_LOG_LOG_H #include <boost/circular_buffer.hpp> #include <condition_variable> #include <memory> #include <mutex> #include <queue> #include <string> #include <string_view> #include...
3,335
20.803922
88
h
null
ceph-main/src/log/LogClock.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LOG_CLOCK_H #define CEPH_LOG_CLOCK_H #include <cstdio> #include <chrono> #include <ctime> #include <sys/time.h> #include "include/ceph_assert.h" #include "common/ceph_time.h" #ifndef HAVE_SUSECONDS_T typed...
5,688
32.662722
95
h
null
ceph-main/src/log/SubsystemMap.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_LOG_SUBSYSTEMS #define CEPH_LOG_SUBSYSTEMS #include <string> #include <vector> #include <algorithm> #include "common/likely.h" #include "common/subsys_types.h" #include "include/ceph_assert.h" namespace c...
3,065
25.894737
73
h
null
ceph-main/src/log/test.cc
#include <gtest/gtest.h> #include "log/Log.h" #include "common/Clock.h" #include "include/coredumpctl.h" #include "SubsystemMap.h" #include "global/global_init.h" #include "common/ceph_argparse.h" #include "global/global_context.h" #include "common/dout.h" #include <unistd.h> #include <limits.h> using namespace st...
10,860
20.506931
95
cc
null
ceph-main/src/mds/Anchor.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) 2018 Red Hat * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2....
1,464
21.890625
96
cc
null
ceph-main/src/mds/Anchor.h
// -*- 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) 2018 Red Hat * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2....
1,904
24.743243
82
h
null
ceph-main/src/mds/BatchOp.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) 2019 Red Hat * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2....
861
22.944444
80
cc
null
ceph-main/src/mds/BatchOp.h
// -*- 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) 2012 Red Hat * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2....
889
20.707317
76
h
null
ceph-main/src/mds/Beacon.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) 2012 Red Hat * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2...
16,836
31.131679
138
cc
null
ceph-main/src/mds/Beacon.h
// -*- 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) 2012 Red Hat * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2...
3,476
28.717949
86
h
null
ceph-main/src/mds/CDentry.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) 2004-2006 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General ...
16,857
22.188446
133
cc
null
ceph-main/src/mds/CDentry.h
// -*- 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) 2004-2006 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General ...
12,047
28.171913
126
h
null
ceph-main/src/mds/CDir.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) 2004-2006 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General ...
105,683
26.731304
158
cc
null
ceph-main/src/mds/CDir.h
// -*- 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) 2004-2006 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General ...
25,776
31.711929
152
h
null
ceph-main/src/mds/CInode.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) 2004-2006 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General ...
158,891
27.748326
130
cc
null
ceph-main/src/mds/CInode.h
// -*- 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) 2004-2006 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General ...
43,696
33.846093
121
h
null
ceph-main/src/mds/Capability.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) 2004-2006 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General ...
8,257
23.288235
94
cc
null
ceph-main/src/mds/Capability.h
// -*- 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) 2004-2006 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General ...
11,877
28.919395
122
h
null
ceph-main/src/mds/DamageTable.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) 2004-2006 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General P...
6,846
23.807971
93
cc
null
ceph-main/src/mds/DamageTable.h
// -*- 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) 2004-2006 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General P...
4,777
23.253807
80
h
null
ceph-main/src/mds/FSMap.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) 2004-2006 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General ...
34,756
27.583059
136
cc
null
ceph-main/src/mds/FSMap.h
// -*- 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) 2004-2006 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General ...
17,276
26.467409
142
h
null
ceph-main/src/mds/FSMapUser.cc
#include "FSMapUser.h" void FSMapUser::encode(ceph::buffer::list& bl, uint64_t features) const { ENCODE_START(1, 1, bl); encode(epoch, bl); encode(legacy_client_fscid, bl); std::vector<fs_info_t> fs_list; for (auto p = filesystems.begin(); p != filesystems.end(); ++p) fs_list.push_back(p->second); enco...
2,096
24.573171
82
cc
null
ceph-main/src/mds/FSMapUser.h
// -*- 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) 2004-2006 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General P...
1,715
25.4
70
h