Use bitmap granularity for alignment checks

This commit is contained in:
Vitaliy Filippov
2021-04-03 14:36:04 +03:00
parent e47f6fba60
commit 54f2353f24
10 changed files with 24 additions and 29 deletions
+1 -4
View File
@@ -41,16 +41,13 @@ int main(int narg, char *args[])
signal(SIGINT, handle_sigint);
signal(SIGTERM, handle_sigint);
ring_loop_t *ringloop = new ring_loop_t(512);
// FIXME: Create Blockstore from on-disk superblock config and check it against the OSD cluster config
blockstore_t *bs = new blockstore_t(config, ringloop);
osd = new osd_t(config, bs, ringloop);
osd = new osd_t(config, ringloop);
while (1)
{
ringloop->loop();
ringloop->wait();
}
delete osd;
delete bs;
delete ringloop;
return 0;
}