DAOS-18597 bio: allow SPDK reinitialization#17614
Conversation
Ref: spdk/spdk@fba209c Ref: #16774 Signed-off-by: Jan Michalski <jan-marian.michalski@hpe.com>
|
Ticket title is 'ddb dev_list with --vos_path in interactive mode causes segmentation fault' |
|
Test stage NLT on EL 8.8 completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-17614/1/testReport/ |
Signed-off-by: Jan Michalski <jan-marian.michalski@hpe.com>
| * SPDK multiple times within the same process, for example when inspecting multiple pools | ||
| * sequentially. For those use cases, the RPC state must now be reset explicitly. | ||
| */ | ||
| spdk_rpc_set_state(SPDK_RPC_STARTUP); |
There was a problem hiding this comment.
Maybe move it after init_arg allocation?
There was a problem hiding this comment.
I chose this location deliberately because:
- It is next to the
spdk_subsystem_load_config()which calledspdk_rpc_set_state()previously. - But before anything related to
init_argso the preparation of the argument for thespdk_subsystem_load_config()remains undisturbed.
There was a problem hiding this comment.
Looks this change didn't solve the issue?
There was a problem hiding this comment.
It solved the issue for me and for @knard38. 😁
I still work with @shimizukko to pin point why his case is different.
|
remove gatekeeper till merge approval |
|
@NiuYawei since you own most of bio, can you please review? |

Ref: spdk/spdk@fba209c
Ref: #16774
Steps for the author:
After all prior steps are complete: