Forgot to pass cqe result :)

This commit is contained in:
Vitaliy Filippov
2019-11-17 22:26:55 +03:00
parent c2de733e35
commit d9d6a4f9c4
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -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;
}