Begin to debug ... all of this stuff :)

This commit is contained in:
Vitaliy Filippov
2019-11-16 02:32:29 +03:00
parent da2fe69879
commit eec1c35ea4
13 changed files with 89 additions and 66 deletions
+16
View File
@@ -0,0 +1,16 @@
#include <iostream>
#include "blockstore.h"
int main(int narg, char *args[])
{
spp::sparse_hash_map<std::string, std::string> config;
config["meta_device"] = "./test_meta.bin";
config["journal_device"] = "./test_journal.bin";
config["data_device"] = "./test_data.bin";
ring_loop_t *ringloop = new ring_loop_t(512);
blockstore *bs = new blockstore(config, ringloop);
delete bs;
delete ringloop;
return 0;
}