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-14535 pool: start/stop ds_pool_child individually #13347

Merged
merged 2 commits into from
Nov 22, 2023

Commits on Nov 17, 2023

  1. DAOS-14535 pool: start/stop ds_pool_child individually

    Reorganize ds_pool_child start/stop code to make it able to be
    started/stopped individually:
    
    - Introduced four states for ds_pool_child: NEW, STARTING, STARTED
      and STOPPING.
    - ds_pool_child is added/removed to/from cache through the collective
      call of pool_child_add/delete_one(), now the cache doesn't hold the
      ds_pool_child reference anymore.
    - Introduced ds_pool_child_start/stop() for callers to start/stop
      ds_pool_child individually, ds_pool_child_state() to query the state
      of ds_pool_child.
    - Adjusted ds_pool_child_lookup() & ds_pool_child_get() a bit;
    
    Required-githooks: true
    
    Signed-off-by: Niu Yawei <yawei.niu@intel.com>
    NiuYawei committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    8bfc948 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2023

  1. DAOS-14535 pool: address review comments

    Address review comments from LiWei. Fix spelling errors.
    
    Required-githooks: true
    
    Signed-off-by: Niu Yawei <yawei.niu@intel.com>
    NiuYawei committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    bb4c085 View commit details
    Browse the repository at this point in the history