if(string(GetParam()) != "bluestore")
return;
+ SetVal(g_conf(), "bluestore_write_v2", "false");
SetVal(g_conf(), "bluestore_max_blob_size", "524288");
SetVal(g_conf(), "bluestore_debug_enforce_settings", "hdd");
g_conf().apply_changes(nullptr);
TEST_P(StoreTestSpecificAUSize, BluestoreStatFSTest) {
if(string(GetParam()) != "bluestore")
return;
+ SetVal(g_conf(), "bluestore_write_v2", "false");
SetVal(g_conf(), "bluestore_block_db_path", "");
StartDeferred(65536);
SetVal(g_conf(), "bluestore_compression_mode", "force");
TEST_P(StoreTestSpecificAUSize, BluestoreFragmentedBlobTest) {
if(string(GetParam()) != "bluestore")
return;
+ SetVal(g_conf(), "bluestore_write_v2", "false");
SetVal(g_conf(), "bluestore_block_db_path", "");
StartDeferred(0x10000);
TEST_P(DeferredReplayTest, DeferredReplay) {
const bool print = false;
deferred_test_t t = GetParam();
+ SetVal(g_conf(), "bluestore_write_v2", "false");
SetVal(g_conf(), "bdev_block_size", stringify(t.bdev_block_size).c_str());
SetVal(g_conf(), "bluestore_min_alloc_size", stringify(t.min_alloc_size).c_str());
SetVal(g_conf(), "bluestore_max_blob_size", stringify(t.max_blob_size).c_str());
TEST_P(DeferredReplayTest, DeferredReplayInReadOnly) {
const bool print = false;
deferred_test_t t = GetParam();
+ SetVal(g_conf(), "bluestore_write_v2", "false");
SetVal(g_conf(), "bdev_block_size", stringify(t.bdev_block_size).c_str());
SetVal(g_conf(), "bluestore_min_alloc_size", stringify(t.min_alloc_size).c_str());
SetVal(g_conf(), "bluestore_max_blob_size", stringify(t.max_blob_size).c_str());
return;
size_t block_size = 4096;
+ SetVal(g_conf(), "bluestore_write_v2", "false");
StartDeferred(block_size);
SetVal(g_conf(), "bluestore_max_blob_size", "131072");
SetVal(g_conf(), "bluestore_prefer_deferred_size", "65536");
return;
size_t block_size = 4096;
+ SetVal(g_conf(), "bluestore_write_v2", "false");
StartDeferred(block_size);
SetVal(g_conf(), "bluestore_max_blob_size", "131072");
SetVal(g_conf(), "bluestore_prefer_deferred_size", "65536");
return;
size_t block_size = 4096;
+ SetVal(g_conf(), "bluestore_write_v2", "false");
StartDeferred(block_size);
SetVal(g_conf(), "bluestore_max_blob_size", "131072");
SetVal(g_conf(), "bluestore_prefer_deferred_size", "65536");
return;
size_t block_size = 4096;
+ SetVal(g_conf(), "bluestore_write_v2", "false");
SetVal(g_conf(), "bluestore_block_db_create", "true");
SetVal(g_conf(), "bluestore_block_db_size", stringify(1 << 30).c_str());
StartDeferred(block_size);
return;
size_t block_size = 4096;
+ SetVal(g_conf(), "bluestore_write_v2", "false");
SetVal(g_conf(), "bluestore_block_db_create", "true");
SetVal(g_conf(), "bluestore_block_db_size", stringify(1 << 30).c_str());
StartDeferred(block_size);
size_t large_object_size = 1 * 1024 * 1024;
size_t prefer_deferred_size = 65536;
+ SetVal(g_conf(), "bluestore_write_v2", "false");
SetVal(g_conf(), "bluestore_block_db_create", "true");
SetVal(g_conf(), "bluestore_block_db_size", stringify(1 << 30).c_str());
return;
size_t block_size = 4096;
+ SetVal(g_conf(), "bluestore_write_v2", "false");
StartDeferred(block_size);
SetVal(g_conf(), "bluestore_max_blob_size", "65536");
g_conf().apply_changes(nullptr);
if (string(GetParam()) != "bluestore")
return;
-
size_t alloc_size = 65536;
size_t write_size = 4096;
+ SetVal(g_conf(), "bluestore_write_v2", "false");
SetVal(g_conf(), "bluestore_debug_enforce_settings", "hdd");
SetVal(g_conf(), "bluestore_block_db_create", "true");
SetVal(g_conf(), "bluestore_block_db_size", stringify(1 << 30).c_str());
ASSERT_EQ(r, 0);\
}
+ SetVal(g_conf(), "bluestore_write_v2", "false");
StartDeferred(65536);
-
SetVal(g_conf(), "bluestore_compression_max_blob_size", "524288");
SetVal(g_conf(), "bluestore_compression_min_blob_size", "262144");
SetVal(g_conf(), "bluestore_max_blob_size", "524288");
if (string(GetParam()) != "bluestore")
return;
+ SetVal(g_conf(), "bluestore_write_v2", "false");
SetVal(g_conf(), "bluestore_debug_enforce_settings", "hdd");
StartDeferred(0x1000);
if (string(GetParam()) != "bluestore")
return;
+ SetVal(g_conf(), "bluestore_write_v2", "false");
SetVal(g_conf(), "bluestore_debug_enforce_settings", "ssd");
StartDeferred(0x1000);
if(string(GetParam()) != "bluestore")
return;
+ SetVal(g_conf(), "bluestore_write_v2", "false");
SetVal(g_conf(), "bluestore_block_db_create", "true");
SetVal(g_conf(), "bluestore_block_db_size", "4294967296");
SetVal(g_conf(), "bluestore_block_size", "12884901888");