Forgot to pass cqe result :)
This commit is contained in:
+2
-2
@@ -75,15 +75,15 @@ int main(int narg, char *args[])
|
||||
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);
|
||||
// print "tick" every second
|
||||
timerfd_interval tick_tfd(ringloop, 1);
|
||||
while (true)
|
||||
{
|
||||
ringloop->loop(true);
|
||||
}
|
||||
//blockstore *bs = new blockstore(config, ringloop);
|
||||
|
||||
//delete bs;
|
||||
delete bs;
|
||||
delete ringloop;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user