DAOS-19173 pool: destroy timeout tiering and serialization#18523
Conversation
|
Ticket title is 'dmg pool destroy very slow' |
2a34b97 to
ab8f393
Compare
|
Test stage NLT completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-18523/2/testReport/ |
|
Test stage Functional on EL 9 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-18523/2/execution/node/1116/log |
|
reviewing the patch in parallel to @Michael-Hennecke patch deployment and test. Potentially a candidate for 2.8-rc2 (subject to approval to merge) |
For MD on SSD configurations, engine local SCM capacity based corpc timeout configuration: - Add pool_destroy_local_scm_size() get engine-local SCM size - Add pool_destroy_rpc_timeout() to customize destroy CoRPC timeout for ds_mgmt_tgt_pool_destroy_ranks() - non-MD-on-SSD case falls back to default timeout And serialize pool target destroy handling for when a previous handler invocation (whose CoRPC initiator timed out) is still busy performing expensive subtree destruction / file unlinking: - Refactor ds_pooltgts with dual synchronization domains: Create: dpt_create_mutex/cv + dpt_creates_ht (existing create-cancel) Destroy: dpt_destroy_mutex/cv + dpt_destroys_ht (new serialization) - Add ds_pooltgts_destroy_rec for destroy-in-flight tracking hash table - Add to ds_mgmt_hdlr_tgt_destroy() the destroy serialization Features: pool Signed-off-by: Kenneth Cain <kenneth.cain@hpe.com>
ab8f393 to
7da9c16
Compare
|
Test stage Functional Hardware Large MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-18523/3/execution/node/1649/log |
For MD on SSD configurations, engine local SCM capacity based corpc timeout configuration:
And serialize pool target destroy handling for when a previous handler invocation (whose CoRPC initiator timed out) is still busy performing expensive subtree destruction / file unlinking:
faults-enabled: false
Features: pool
Steps for the author:
After all prior steps are complete: