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

osd: fix cache_evict vs make_writeable/finish_ctx snapdir bug #8629 #2550

Merged
merged 2 commits into from Sep 29, 2014

Conversation

liewegas
Copy link
Member

No description provided.

Verify an evict doesn't create a snapdir object.  Reproduces #8629

Signed-off-by: Sage Weil <sage@redhat.com>
If we cache_evict a head in a cache pool, we need to prevent
make_writeable() from cloning the head and finish_ctx() from
preserving the snapdir object.

Fixes: #8629
Backport: firefly
Signed-off-by: Sage Weil <sage@redhat.com>
@athanatos
Copy link
Contributor

wip-sam-testing

athanatos pushed a commit that referenced this pull request Sep 29, 2014
osd: fix cache_evict vs make_writeable/finish_ctx snapdir bug #8629

Reviewed-by: Samuel Just <sam.just@inktank.com>
@athanatos athanatos merged commit f91c571 into giant Sep 29, 2014
@athanatos athanatos deleted the wip-8629 branch September 29, 2014 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants