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-7165 VOS: free VOS pools attached on GC (#5472) #5561

Merged
merged 1 commit into from
Apr 26, 2021

Conversation

gnailzenh
Copy link
Contributor

A pool is attached on GC when user deleted things from the pool,
it will be removed from GC only if the pool is destroyed or has
nothing to be freed. If DAOS is shutting down before GC frees
everything for a alive pool, it will trigger a false assertion
because this pool is still attached on GC.

  • This patch removes the false assertion, it can free all pools
    still attached on GC while finilizing VOS.
  • It also includes a small cleanup for VOS API.

Signed-off-by: Liang Zhen liang.zhen@intel.com
Co-authored-by: Mohamad Chaarawi mohamad.chaarawi@intel.com

A pool is attached on GC when user deleted things from the pool,
it will be removed from GC only if the pool is destroyed or has
nothing to be freed. If DAOS is shutting down before GC frees
everything for a alive pool, it will trigger a false assertion
because this pool is still attached on GC.

- This patch removes the false assertion, it can free all pools
  still attached on GC while finilizing VOS.
- It also includes a small cleanup for VOS API.

Signed-off-by: Liang Zhen <liang.zhen@intel.com>
Co-authored-by: Mohamad Chaarawi <mohamad.chaarawi@intel.com>
Copy link
Collaborator

@daosbuild1 daosbuild1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. No errors found by checkpatch.

@johannlombardi johannlombardi merged commit 92112dd into release/1.2 Apr 26, 2021
@johannlombardi johannlombardi deleted the liang/b1_2_gc_fini branch April 26, 2021 06:00
@ashleypittman ashleypittman mentioned this pull request Apr 28, 2021
@ashleypittman ashleypittman mentioned this pull request May 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants