Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DAOS-10615 ddb: Fix ddb usage of vos_self_init #9177

Merged
merged 1 commit into from
May 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ddb/ddb_vos.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ ddb_vos_pool_open(char *path, daos_handle_t *poh)
* VOS files must be under /mnt/daos directory. This is a current limitation and
* will change in the future
*/
rc = vos_self_init(pool_base);
rc = vos_self_init(pool_base, true, 0);
if (!SUCCESS(rc))
return rc;

Expand Down
2 changes: 1 addition & 1 deletion src/ddb/tests/ddb_test_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ int main(int argc, char *argv[])
rc = ddb_init();
if (rc != 0)
return -rc;
rc = vos_self_init("/mnt/daos");
rc = vos_self_init("/mnt/daos", false, 0);
if (rc != 0) {
fprintf(stderr, "Unable to initialize VOS: "DF_RC"\n", DP_RC(rc));
ddb_fini();
Expand Down