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/test/librbd/mock/MockImageCtx.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "include/neorados/RADOS.hpp" #include "test/librbd/mock/MockImageCtx.h" #include "test/librbd/mock/MockSafeTimer.h" #include "test/librbd/mock/crypto/MockEncryptionFormat.h" #include "librbd/io/AsyncOperation.h" ...
4,932
31.886667
78
cc
null
ceph-main/src/test/librbd/mock/MockImageCtx.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_TEST_LIBRBD_MOCK_IMAGE_CTX_H #define CEPH_TEST_LIBRBD_MOCK_IMAGE_CTX_H #include "include/rados/librados.hpp" #include "test/librbd/mock/MockContextWQ.h" #include "test/librbd/mock/MockExclusiveLock.h" #inclu...
8,644
31.996183
86
h
null
ceph-main/src/test/librbd/mock/MockImageState.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_TEST_LIBRBD_MOCK_IMAGE_STATE_H #define CEPH_TEST_LIBRBD_MOCK_IMAGE_STATE_H #include <gmock/gmock.h> #include "cls/rbd/cls_rbd_types.h" class Context; namespace librbd { class UpdateWatchCtx; struct Mock...
975
23.4
75
h
null
ceph-main/src/test/librbd/mock/MockImageWatcher.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_TEST_LIBRBD_MOCK_IMAGE_WATCHER_H #define CEPH_TEST_LIBRBD_MOCK_IMAGE_WATCHER_H #include "gmock/gmock.h" class Context; namespace librbd { class ProgressContext; struct MockImageWatcher { MOCK_METHOD0(i...
914
25.142857
79
h
null
ceph-main/src/test/librbd/mock/MockJournal.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "test/librbd/mock/MockJournal.h" namespace librbd { MockJournal *MockJournal::s_instance = nullptr; } // namespace librbd
233
20.272727
70
cc
null
ceph-main/src/test/librbd/mock/MockJournal.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_TEST_LIBRBD_MOCK_JOURNAL_H #define CEPH_TEST_LIBRBD_MOCK_JOURNAL_H #include "common/RefCountedObj.h" #include "gmock/gmock.h" #include "include/rados/librados_fwd.hpp" #include "librbd/Journal.h" #include "l...
2,977
29.701031
79
h
null
ceph-main/src/test/librbd/mock/MockJournalPolicy.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_TEST_LIBRBD_MOCK_JOURNAL_POLICY_H #define CEPH_TEST_LIBRBD_MOCK_JOURNAL_POLICY_H #include "librbd/journal/Policy.h" #include "gmock/gmock.h" namespace librbd { struct MockJournalPolicy : public journal::Po...
554
23.130435
70
h
null
ceph-main/src/test/librbd/mock/MockObjectMap.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_TEST_LIBRBD_MOCK_OBJECT_MAP_H #define CEPH_TEST_LIBRBD_MOCK_OBJECT_MAP_H #include "librbd/Utils.h" #include "gmock/gmock.h" namespace librbd { struct MockObjectMap { MOCK_METHOD1(at, uint8_t(uint64_t)); ...
2,646
36.28169
80
h
null
ceph-main/src/test/librbd/mock/MockOperations.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_TEST_LIBRBD_MOCK_OPERATIONS_H #define CEPH_TEST_LIBRBD_MOCK_OPERATIONS_H #include "cls/rbd/cls_rbd_types.h" #include "include/int_types.h" #include "include/rbd/librbd.hpp" #include "gmock/gmock.h" #include ...
3,640
48.876712
95
h
null
ceph-main/src/test/librbd/mock/MockPluginRegistry.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_TEST_LIBRBD_MOCK_PLUGIN_REGISTRY_H #define CEPH_TEST_LIBRBD_MOCK_PLUGIN_REGISTRY_H #include <gmock/gmock.h> class Context; namespace librbd { struct MockPluginRegistry{ MOCK_METHOD2(init, void(const std...
536
23.409091
70
h
null
ceph-main/src/test/librbd/mock/MockReadahead.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_TEST_LIBRBD_MOCK_READAHEAD_H #define CEPH_TEST_LIBRBD_MOCK_READAHEAD_H #include "include/int_types.h" #include "gmock/gmock.h" class Context; namespace librbd { struct MockReadahead { MOCK_METHOD1(set_m...
478
20.772727
70
h
null
ceph-main/src/test/librbd/mock/MockSafeTimer.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_MOCK_SAFE_TIMER_H #define CEPH_MOCK_SAFE_TIMER_H #include <gmock/gmock.h> struct Context; struct MockSafeTimer { virtual ~MockSafeTimer() { } MOCK_METHOD2(add_event_after, Context*(double, Context *...
489
22.333333
80
h
null
ceph-main/src/test/librbd/mock/cache/MockImageCache.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_TEST_LIBRBD_CACHE_MOCK_IMAGE_CACHE_H #define CEPH_TEST_LIBRBD_CACHE_MOCK_IMAGE_CACHE_H #include "gmock/gmock.h" #include "librbd/io/Types.h" #include <vector> namespace librbd { namespace cache { struct Mo...
2,329
38.491525
81
h
null
ceph-main/src/test/librbd/mock/crypto/MockCryptoInterface.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_TEST_LIBRBD_MOCK_CRYPTO_MOCK_CRYPTO_INTERFACE_H #define CEPH_TEST_LIBRBD_MOCK_CRYPTO_MOCK_CRYPTO_INTERFACE_H #include "include/buffer.h" #include "gmock/gmock.h" #include "librbd/crypto/CryptoInterface.h" n...
983
25.594595
70
h
null
ceph-main/src/test/librbd/mock/crypto/MockDataCryptor.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_TEST_LIBRBD_MOCK_CRYPTO_MOCK_DATA_CRYPTOR_H #define CEPH_TEST_LIBRBD_MOCK_CRYPTO_MOCK_DATA_CRYPTOR_H #include "gmock/gmock.h" #include "librbd/crypto/DataCryptor.h" namespace librbd { namespace crypto { st...
1,279
28.090909
78
h
null
ceph-main/src/test/librbd/mock/crypto/MockEncryptionFormat.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_TEST_LIBRBD_MOCK_CRYPTO_MOCK_ENCRYPTION_FORMAT_H #define CEPH_TEST_LIBRBD_MOCK_CRYPTO_MOCK_ENCRYPTION_FORMAT_H #include "gmock/gmock.h" #include "librbd/crypto/EncryptionFormat.h" #include "test/librbd/mock/...
876
31.481481
70
h
null
ceph-main/src/test/librbd/mock/exclusive_lock/MockPolicy.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_TEST_LIBRBD_MOCK_EXCLUSIVE_LOCK_POLICY_H #define CEPH_TEST_LIBRBD_MOCK_EXCLUSIVE_LOCK_POLICY_H #include "librbd/exclusive_lock/Policy.h" #include <gmock/gmock.h> namespace librbd { namespace exclusive_lock ...
572
22.875
70
h
null
ceph-main/src/test/librbd/mock/io/MockImageDispatch.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_TEST_LIBRBD_MOCK_IO_IMAGE_DISPATCH_H #define CEPH_TEST_LIBRBD_MOCK_IO_IMAGE_DISPATCH_H #include "gmock/gmock.h" #include "include/Context.h" #include "librbd/io/ImageDispatchInterface.h" #include "librbd/io/...
3,209
31.424242
77
h
null
ceph-main/src/test/librbd/mock/io/MockImageDispatcher.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_TEST_LIBRBD_MOCK_IO_IMAGE_DISPATCHER_H #define CEPH_TEST_LIBRBD_MOCK_IO_IMAGE_DISPATCHER_H #include "gmock/gmock.h" #include "include/Context.h" #include "librbd/io/ImageDispatcher.h" #include "librbd/io/Ima...
1,563
29.666667
78
h
null
ceph-main/src/test/librbd/mock/io/MockObjectDispatch.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_TEST_LIBRBD_MOCK_IO_OBJECT_DISPATCH_H #define CEPH_TEST_LIBRBD_MOCK_IO_OBJECT_DISPATCH_H #include "gmock/gmock.h" #include "common/ceph_mutex.h" #include "librbd/io/ObjectDispatchInterface.h" #include "librb...
6,074
43.021739
80
h
null
ceph-main/src/test/librbd/mock/io/MockObjectDispatcher.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_TEST_LIBRBD_MOCK_IO_OBJECT_DISPATCHER_H #define CEPH_TEST_LIBRBD_MOCK_IO_OBJECT_DISPATCHER_H #include "gmock/gmock.h" #include "include/Context.h" #include "librbd/io/ObjectDispatcher.h" #include "librbd/io/...
1,281
27.488889
79
h
null
ceph-main/src/test/librbd/mock/io/MockQosImageDispatch.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_TEST_LIBRBD_MOCK_IO_QOS_IMAGE_DISPATCH_H #define CEPH_TEST_LIBRBD_MOCK_IO_QOS_IMAGE_DISPATCH_H #include "gmock/gmock.h" #include "librbd/io/Types.h" #include <atomic> struct Context; namespace librbd { nam...
594
22.8
71
h
null
ceph-main/src/test/librbd/mock/migration/MockSnapshotInterface.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_TEST_LIBRBD_MOCK_MIGRATION_MOCK_SNAPSHOT_INTERFACE_H #define CEPH_TEST_LIBRBD_MOCK_MIGRATION_MOCK_SNAPSHOT_INTERFACE_H #include "include/buffer.h" #include "gmock/gmock.h" #include "librbd/io/AioCompletion.h...
1,570
33.911111
71
h
null
ceph-main/src/test/librbd/mock/migration/MockStreamInterface.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #ifndef CEPH_TEST_LIBRBD_MOCK_MIGRATION_MOCK_STREAM_INTERFACE_H #define CEPH_TEST_LIBRBD_MOCK_MIGRATION_MOCK_STREAM_INTERFACE_H #include "include/buffer.h" #include "gmock/gmock.h" #include "librbd/migration/StreamInterf...
866
27.9
77
h
null
ceph-main/src/test/librbd/object_map/test_mock_DiffRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "test/librbd/test_mock_fixture.h" #include "test/librbd/test_support.h" #include "test/librados_test_stub/MockTestMemIoCtxImpl.h" #include "include/rbd_types.h" #include "common/ceph_mutex.h" #include "librbd/obj...
15,059
29.48583
80
cc
null
ceph-main/src/test/librbd/object_map/test_mock_InvalidateRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "test/librbd/test_mock_fixture.h" #include "test/librbd/test_support.h" #include "test/librados_test_stub/MockTestMemIoCtxImpl.h" #include "librbd/internal.h" #include "librbd/api/Image.h" #include "librbd/object...
4,766
28.981132
90
cc
null
ceph-main/src/test/librbd/object_map/test_mock_LockRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "test/librbd/test_mock_fixture.h" #include "test/librbd/test_support.h" #include "test/librbd/mock/MockImageCtx.h" #include "test/librados_test_stub/MockTestMemIoCtxImpl.h" #include "cls/lock/cls_lock_ops.h" #inc...
6,268
27.238739
80
cc
null
ceph-main/src/test/librbd/object_map/test_mock_RefreshRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "test/librbd/test_mock_fixture.h" #include "test/librbd/test_support.h" #include "test/librbd/mock/MockImageCtx.h" #include "test/librbd/object_map/mock/MockInvalidateRequest.h" #include "test/librados_test_stub/...
15,673
32.635193
93
cc
null
ceph-main/src/test/librbd/object_map/test_mock_ResizeRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "test/librbd/test_mock_fixture.h" #include "test/librbd/test_support.h" #include "test/librados_test_stub/MockTestMemIoCtxImpl.h" #include "common/bit_vector.hpp" #include "librbd/internal.h" #include "librbd/Obj...
4,695
29.296774
78
cc
null
ceph-main/src/test/librbd/object_map/test_mock_SnapshotCreateRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "test/librbd/test_mock_fixture.h" #include "test/librbd/test_support.h" #include "test/librados_test_stub/MockTestMemIoCtxImpl.h" #include "common/bit_vector.hpp" #include "cls/rbd/cls_rbd_types.h" #include "libr...
7,270
30.206009
80
cc
null
ceph-main/src/test/librbd/object_map/test_mock_SnapshotRemoveRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "test/librbd/test_mock_fixture.h" #include "test/librbd/test_support.h" #include "test/librados_test_stub/MockTestMemIoCtxImpl.h" #include "common/bit_vector.hpp" #include "librbd/ImageState.h" #include "librbd/i...
11,512
32.274566
80
cc
null
ceph-main/src/test/librbd/object_map/test_mock_SnapshotRollbackRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "test/librbd/test_mock_fixture.h" #include "test/librbd/test_support.h" #include "test/librados_test_stub/MockTestMemIoCtxImpl.h" #include "librbd/ImageState.h" #include "librbd/internal.h" #include "librbd/Objec...
4,797
31.201342
79
cc
null
ceph-main/src/test/librbd/object_map/test_mock_UnlockRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "test/librbd/test_mock_fixture.h" #include "test/librbd/test_support.h" #include "test/librbd/mock/MockImageCtx.h" #include "test/librados_test_stub/MockTestMemIoCtxImpl.h" #include "cls/lock/cls_lock_ops.h" #inc...
1,879
25.857143
73
cc
null
ceph-main/src/test/librbd/object_map/test_mock_UpdateRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "test/librbd/test_mock_fixture.h" #include "test/librbd/test_support.h" #include "test/librados_test_stub/MockTestMemIoCtxImpl.h" #include "common/bit_vector.hpp" #include "librbd/ImageState.h" #include "librbd/i...
9,522
31.613014
80
cc
null
ceph-main/src/test/librbd/object_map/mock/MockInvalidateRequest.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "librbd/object_map/InvalidateRequest.h" // template definitions #include "librbd/object_map/InvalidateRequest.cc" namespace librbd { namespace object_map { template <typename I> struct MockInvalidateRequestBas...
1,107
25.380952
74
h
null
ceph-main/src/test/librbd/operation/test_mock_DisableFeaturesRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "test/librbd/test_mock_fixture.h" #include "test/librbd/test_support.h" #include "test/librbd/mock/MockImageCtx.h" #include "test/librbd/mock/MockJournalPolicy.h" #include "cls/rbd/cls_rbd_client.h" #include "lib...
17,530
31.525046
94
cc
null
ceph-main/src/test/librbd/operation/test_mock_EnableFeaturesRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "test/librbd/test_mock_fixture.h" #include "test/librbd/test_support.h" #include "test/librbd/mock/MockImageCtx.h" #include "cls/rbd/cls_rbd_client.h" #include "librbd/Operations.h" #include "librbd/internal.h" #...
21,064
31.658915
97
cc
null
ceph-main/src/test/librbd/operation/test_mock_Request.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "test/librbd/test_mock_fixture.h" #include "test/librbd/test_support.h" #include "test/librbd/mock/MockImageCtx.h" #include "test/librbd/mock/MockJournal.h" #include "librbd/AsyncRequest.h" #include "librbd/opera...
4,750
25.994318
79
cc
null
ceph-main/src/test/librbd/operation/test_mock_ResizeRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "test/librbd/test_mock_fixture.h" #include "test/librbd/test_support.h" #include "test/librbd/mock/MockImageCtx.h" #include "test/librbd/mock/io/MockObjectDispatch.h" #include "test/librados_test_stub/MockTestMem...
15,166
33.786697
103
cc
null
ceph-main/src/test/librbd/operation/test_mock_SnapshotCreateRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "test/librbd/test_mock_fixture.h" #include "test/librbd/test_support.h" #include "test/librbd/mock/MockImageCtx.h" #include "test/librados_test_stub/MockTestMemIoCtxImpl.h" #include "common/bit_vector.hpp" #inclu...
16,216
31.695565
89
cc
null
ceph-main/src/test/librbd/operation/test_mock_SnapshotProtectRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "test/librbd/test_mock_fixture.h" #include "test/librbd/test_support.h" #include "test/librbd/mock/MockImageCtx.h" #include "test/librados_test_stub/MockTestMemIoCtxImpl.h" #include "common/bit_vector.hpp" #inclu...
6,075
30.319588
80
cc
null
ceph-main/src/test/librbd/operation/test_mock_SnapshotRemoveRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "test/librbd/test_mock_fixture.h" #include "test/librbd/test_support.h" #include "test/librbd/mock/MockImageCtx.h" #include "test/librados_test_stub/MockTestMemIoCtxImpl.h" #include "common/bit_vector.hpp" #inclu...
29,070
30.462121
94
cc
null
ceph-main/src/test/librbd/operation/test_mock_SnapshotRollbackRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "test/librbd/test_mock_fixture.h" #include "test/librbd/test_support.h" #include "test/librbd/mock/MockImageCtx.h" #include "test/librbd/mock/io/MockObjectDispatch.h" #include "test/librados_test_stub/MockTestMem...
13,800
36.502717
103
cc
null
ceph-main/src/test/librbd/operation/test_mock_SnapshotUnprotectRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "test/librbd/test_mock_fixture.h" #include "test/librbd/test_support.h" #include "test/librbd/mock/MockImageCtx.h" #include "test/librados_test_stub/MockTestMemIoCtxImpl.h" #include "test/librados_test_stub/MockT...
9,303
32.467626
79
cc
null
ceph-main/src/test/librbd/operation/test_mock_TrimRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "test/librbd/test_mock_fixture.h" #include "test/librbd/test_support.h" #include "test/librbd/mock/MockImageCtx.h" #include "test/librbd/mock/io/MockObjectDispatch.h" #include "test/librados_test_stub/MockTestMem...
16,781
32.97166
93
cc
null
ceph-main/src/test/librbd/trash/test_mock_MoveRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "test/librbd/test_mock_fixture.h" #include "test/librbd/test_support.h" #include "test/librbd/mock/MockExclusiveLock.h" #include "test/librbd/mock/MockImageCtx.h" #include "test/librbd/mock/MockImageState.h" #inc...
7,803
32.78355
88
cc
null
ceph-main/src/test/librbd/trash/test_mock_RemoveRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "test/librbd/test_mock_fixture.h" #include "test/librbd/test_support.h" #include "test/librbd/mock/MockExclusiveLock.h" #include "test/librbd/mock/MockImageCtx.h" #include "test/librbd/mock/MockImageState.h" #inc...
7,328
30.727273
83
cc
null
ceph-main/src/test/librbd/watcher/test_mock_RewatchRequest.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "test/librbd/test_mock_fixture.h" #include "include/rados/librados.hpp" #include "test/librados_test_stub/MockTestMemIoCtxImpl.h" #include "test/librados_test_stub/MockTestMemRadosClient.h" #include "test/librbd/...
8,036
34.25
130
cc
null
ceph-main/src/test/mds/TestMDSAuthCaps.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 Inktank * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2....
15,600
40.381963
115
cc
null
ceph-main/src/test/mds/TestSessionFilter.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 Inktank * * 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,870
26.06993
73
cc
null
ceph-main/src/test/memuse/test_pool_memuse.sh
#! /bin/sh -x # # Create a bunch of pools in parallel # This test isn't very smart -- run it from your src dir. # set -e CEPH_NUM_MON=1 CEPH_NUM_MDS=1 CEPH_NUM_OSD=$2 ./vstart.sh -n -d --valgrind_osd 'massif' for i in `seq 0 $1`; do for j in `seq 0 9`; do poolnum=$((i*10+j)) poolname="pool$poolnum" ./ceph os...
371
17.6
87
sh
null
ceph-main/src/test/memuse/test_pool_memuse_tcmalloc.sh
#! /bin/sh -x # # Create a bunch of pools in parallel # This test isn't very smart -- run it from your src dir. # set -e CEPH_NUM_MON=1 CEPH_NUM_MDS=1 CEPH_NUM_OSD=$2 ./vstart.sh -n -d num_osd=$2 maxosd=$((num_osd-1)) for osd_num in `seq 0 $maxosd`; do ./ceph osd tell $osd_num start_profiler done for i in `seq...
465
16.923077
63
sh
null
ceph-main/src/test/memuse/test_written_pool_memuse.sh
#! /bin/sh -x set -e for i in `seq 0 $1`; do for j in `seq 0 9`; do poolnum=$((i*10+j)) poolname="pool$poolnum" ./rados -p $poolname bench 1 write -t 1 & done wait done
185
14.5
42
sh
null
ceph-main/src/test/memuse/test_written_pool_memuse_tcmalloc.sh
#!/bin/sh -x set -e num_osd=$2 maxosd=$((num_osd-1)) eval "rm out/*.heap" || echo "no heap dumps to rm" mkdir -p out/pg_stable for osd_num in `seq 0 $maxosd`; do ./ceph osd tell $osd_num heapdump sleep 1 eval "mv out/*.heap out/pg_stable" done for i in `seq 0 $1`; do for j in `seq 0 9`; do poolnu...
969
16.636364
50
sh
null
ceph-main/src/test/mgr/mgr-dashboard-smoke.sh
#!/usr/bin/env bash # # Copyright (C) 2014,2015,2017 Red Hat <contact@redhat.com> # Copyright (C) 2018 SUSE LLC # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU Library Public License as published by # the Free Software Foundation; either version 2, or (at your op...
2,492
29.402439
129
sh
null
ceph-main/src/test/mgr/test_mgrcap.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 Inktank * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2....
9,787
31.518272
92
cc
null
ceph-main/src/test/mgr/test_ttlcache.cc
#include <iostream> #include "mgr/TTLCache.h" #include "gtest/gtest.h" using namespace std; TEST(TTLCache, Get) { TTLCache<string, int> c{100}; c.insert("foo", 1); int foo = c.get("foo"); ASSERT_EQ(foo, 1); } TEST(TTLCache, Erase) { TTLCache<string, int> c{100}; c.insert("foo", 1); int foo = c.get("foo"); A...
1,324
17.661972
71
cc
null
ceph-main/src/test/mon/MonMap.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...
8,513
34.181818
93
cc
null
ceph-main/src/test/mon/PGMap.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) 2014 Inktank <info@inktank.com> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public * Licens...
6,264
35.852941
86
cc
null
ceph-main/src/test/mon/bench_auth.py
#!/usr/bin/python3 import argparse import copy import json import rados import time import multiprocessing caps_base = ["mon", "profile rbd", "osd", "profile rbd pool=rbd namespace=test"] def create_users(conn, num_namespaces, num_users): cmd = {'prefix': 'auth get-or-create'} for i in range(num_namespaces)...
3,432
31.386792
116
py
null
ceph-main/src/test/mon/moncap.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 Inktank * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2....
13,171
33.754617
101
cc
null
ceph-main/src/test/mon/test-mon-msg.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) 2014 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, as p...
8,231
23.211765
144
cc
null
ceph-main/src/test/mon/test_election.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "gtest/gtest.h" #include "mon/ElectionLogic.h" #include "mon/ConnectionTracker.h" #include "common/dout.h" #include "global/global_context.h" #include "global/global_init.h" #include "common/common_init.h" #incl...
33,536
32.403386
124
cc
null
ceph-main/src/test/mon/test_log_rss_usage.cc
#include <sys/types.h> #include <cstdint> #include <dirent.h> #include <errno.h> #include <vector> #include <string> #include <iostream> #include <fstream> #include <stdlib.h> #include <stdio.h> #include <unistd.h> using namespace std; int getPidByName(string procName) { int pid = -1; // Open the /proc directory...
2,348
21.805825
70
cc
null
ceph-main/src/test/mon/test_mon_memory_target.cc
#include <algorithm> #include <cmath> #include <iostream> #include <string> #include <numeric> #include <regex> #include <system_error> #include <boost/process.hpp> #include <boost/tokenizer.hpp> namespace bp = boost::process; using namespace std; int main(int argc, char** argv) { cout << "Mon Memory Target Test" ...
2,276
27.4625
77
cc
null
ceph-main/src/test/mon/test_mon_rss_usage.cc
#include <algorithm> #include <iostream> #include <fstream> #include <string> #include <numeric> #include <regex> #include <cmath> #include <system_error> using namespace std; int main(int argc, char **argv) { cout << "Mon RSS Usage Test" << endl; if (argc != 2) { cout << "Syntax: " << "ceph_test_mo...
2,132
28.219178
76
cc
null
ceph-main/src/test/mon/test_mon_types.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 Inktank * * 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,969
27.156028
70
cc
null
ceph-main/src/test/mon/test_mon_workloadgen.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 ...
28,304
25.330233
144
cc
null
ceph-main/src/test/msgr/perf_msgr_client.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) 2015 Haomai Wang * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * modify it under the terms ...
7,103
31.290909
175
cc
null
ceph-main/src/test/msgr/perf_msgr_server.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) 2015 Haomai Wang * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * modify it under the terms ...
5,735
31.40678
175
cc
null
ceph-main/src/test/msgr/test_async_driver.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) 2014 UnitedStack <haomai@unitedstack.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * m...
8,636
23.329577
130
cc
null
ceph-main/src/test/msgr/test_async_networkstack.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 XSky <haomai@xsky.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * modify it under ...
31,246
28.121156
111
cc
null
ceph-main/src/test/msgr/test_comp_registry.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "include/types.h" #include "include/stringify.h" #include "compressor/Compressor.h" #include "msg/compressor_registry.h" #include "gtest/gtest.h" #include "common/ceph_context.h" #include "global/global_context.h...
3,565
35.020202
103
cc
null
ceph-main/src/test/msgr/test_frames_v2.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) 2020 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....
19,530
39.353306
100
cc
null
ceph-main/src/test/msgr/test_msgr.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) 2014 UnitedStack <haomai@unitedstack.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * mo...
79,934
31.962887
129
cc
null
ceph-main/src/test/msgr/test_userspace_event.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 XSky <haomai@xsky.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * modify it under...
5,005
27.605714
88
cc
null
ceph-main/src/test/neorados/common_tests.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) 2020 Red Hat, Inc. * Author: Adam C. Emerson <aemerson@redhat.com> * * This is free software; you can redistribute it and/or * modify it under the terms...
898
24.685714
70
cc
null
ceph-main/src/test/neorados/common_tests.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) 2020 Red Hat, Inc. * Author: Adam C. Emerson <aemerson@redhat.com> * * This is free software; you can redistribute it and/or * modify it under the terms...
1,202
27.642857
70
h
null
ceph-main/src/test/neorados/completions.cc
#include <cassert> #include <boost/asio.hpp> #include <boost/system/system_error.hpp> constexpr int max_completions = 10'000'000; int completed = 0; boost::asio::io_context c; void nested_cb() { if (++completed < max_completions) c.post(&nested_cb); } int main(void) { c.post(&nested_cb); c.run(); assert...
366
16.47619
43
cc
null
ceph-main/src/test/neorados/list_pool.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 <contact@redhat.com> * Author: Adam C. Emerson <aemerson@redhat.com> * * This is free software; you can redistribute it and/or * modify it ...
4,276
24.610778
76
cc
null
ceph-main/src/test/neorados/op_speed.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 <contact@redhat.com> * Author: Adam C. Emerson <aemerson@redhat.com> * * This is free software; you can redistribute it and/or * modify it ...
1,000
27.6
71
cc
null
ceph-main/src/test/neorados/start_stop.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 <contact@redhat.com> * Author: Adam C. Emerson <aemerson@redhat.com> * * This is free software; you can redistribute it and/or * modify it ...
4,838
26.651429
70
cc
null
ceph-main/src/test/neorados/test_neorados.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "include/rados/librados.hpp" #include "include/neorados/RADOS.hpp" #include "common/async/blocked_completion.h" #include "test/librados/test_cxx.h" #include "gtest/gtest.h" #include <iostream> namespace neorados...
1,132
22.604167
70
cc
null
ceph-main/src/test/objectstore/Allocator_aging_fragmentation.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Bitmap allocator fragmentation benchmarks. * Author: Adam Kupczyk, akupczyk@redhat.com */ #include <bit> #include <iostream> #include <boost/scoped_ptr.hpp> #include <gtest/gtest.h> #include <boost/random/triangle_...
13,776
28.69181
107
cc
null
ceph-main/src/test/objectstore/Allocator_bench.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * In memory space allocator benchmarks. * Author: Igor Fedotov, ifedotov@suse.com */ #include <iostream> #include <boost/scoped_ptr.hpp> #include <gtest/gtest.h> #include "common/Cond.h" #include "common/errno.h" #i...
9,803
25.569106
91
cc
null
ceph-main/src/test/objectstore/Allocator_test.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * In memory space allocator test cases. * Author: Ramesh Chander, Ramesh.Chander@sandisk.com */ #include <iostream> #include <boost/scoped_ptr.hpp> #include <gtest/gtest.h> #include "common/Cond.h" #include "common/...
18,320
27.671362
85
cc
null
ceph-main/src/test/objectstore/Fragmentation_simulator.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Fragmentation Simulator * Author: Tri Dao, daominhtri0503@gmail.com */ #include "common/ceph_argparse.h" #include "common/common_init.h" #include "common/hobject.h" #include "global/global_init.h" #include "include...
5,420
27.68254
80
cc
null
ceph-main/src/test/objectstore/ObjectStoreImitator.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Fragmentation Simulator * Author: Tri Dao, daominhtri0503@gmail.com */ #include "test/objectstore/ObjectStoreImitator.h" #include "common/errno.h" #include "include/ceph_assert.h" #include "include/intarith.h" #de...
21,195
24.785888
80
cc
null
ceph-main/src/test/objectstore/ObjectStoreImitator.h
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Fragmentation Simulator * Author: Tri Dao, daominhtri0503@gmail.com */ #pragma once #include "include/common_fwd.h" #include "os/ObjectStore.h" #include "os/bluestore/Allocator.h" #include "os/bluestore/bluestore_...
14,067
35.54026
80
h
null
ceph-main/src/test/objectstore/ObjectStoreTransactionBenchmark.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) 2014 UnitedStack <haomai@unitedstack.com> * * Author: Haomai Wang <haomaiwang@gmail.com> * * This is free software; you can redistribute it and/or * m...
9,053
32.910112
169
cc
null
ceph-main/src/test/objectstore/TestObjectStoreState.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 New Dream Network * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version...
7,909
25.366667
101
cc
null
ceph-main/src/test/objectstore/TestObjectStoreState.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 New Dream Network * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version...
4,213
25.503145
79
h
null
ceph-main/src/test/objectstore/TestRocksdbOptionParse.cc
#include <gtest/gtest.h> #include "include/Context.h" #include "rocksdb/db.h" #include "rocksdb/env.h" #include "rocksdb/thread_status.h" #include "kv/RocksDBStore.h" #include <iostream> using namespace std; const string dir("rocksdb.test_temp_dir"); TEST(RocksDBOption, simple) { rocksdb::Options options; rocksd...
3,007
37.075949
106
cc
null
ceph-main/src/test/objectstore/allocator_replay_test.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Allocator replay tool. * Author: Igor Fedotov, ifedotov@suse.com */ #include <iostream> #include <vector> #include "common/ceph_argparse.h" #include "common/debug.h" #include "common/Cycles.h" #include "common/err...
21,521
29.966906
185
cc
null
ceph-main/src/test/objectstore/fastbmap_allocator_test.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include <iostream> #include <gtest/gtest.h> #include "os/bluestore/fastbmap_allocator_impl.h" class TestAllocatorLevel01 : public AllocatorLevel01Loose { public: void init(uint64_t capacity, uint64_t alloc_unit) { ...
33,713
30.597001
82
cc
null
ceph-main/src/test/objectstore/hybrid_allocator_test.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include <iostream> #include <gtest/gtest.h> #include "os/bluestore/HybridAllocator.h" class TestHybridAllocator : public HybridAllocator { public: TestHybridAllocator(CephContext* cct, int64_t d...
7,271
30.344828
77
cc
null
ceph-main/src/test/objectstore/run_seed_to.sh
#!/usr/bin/env bash # vim: ts=8 sw=2 smarttab # # run_seed_to.sh - Run ceph_test_filestore_idempotent_sequence up until an # injection point, generating a sequence of operations based on a # provided seed. # # We also perform three additional tests, focused on assessing if # replaying a larger chunck of the journal a...
7,659
25.054422
146
sh
null
ceph-main/src/test/objectstore/run_seed_to_range.sh
#!/bin/sh set -x set -e seed=$1 from=$2 to=$3 dir=$4 mydir=`dirname $0` for f in `seq $from $to` do if ! $mydir/run_seed_to.sh -o 10 -e $seed $f; then if [ -d "$dir" ]; then echo copying evidence to $dir cp -a . $dir else echo no dir provided for evidence disposal fi exit 1 fi done
314
11.6
54
sh
null
ceph-main/src/test/objectstore/run_smr_bluestore_test.sh
#!/bin/bash -ex # 1) run_smr_bluestore_test.sh # Setup smr device, run all tests # 2) run_smr_bluestore_test.sh --smr # Setup smr device but skip tests failing on smr before_creation=$(mktemp) lsscsi > $before_creation echo "cd /backstores/user:zbc create name=zbc0 size=20G cfgstring=model-HM/zsize-256/conv-10@zbc...
1,198
23.469388
102
sh
null
ceph-main/src/test/objectstore/run_test_deferred.sh
#!/bin/bash if [[ ! (-x ./bin/unittest_deferred) || ! (-x ./bin/ceph-kvstore-tool) || ! (-x ./bin/ceph-bluestore-tool)]] then echo Test must be run from ceph build directory echo with unittest_deferred, ceph-kvstore-tool and ceph-bluestore-tool compiled exit 1 fi # Create BlueStore, only main block devic...
2,479
45.792453
191
sh