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/ReplicatedPG: Fixes unneccessary object promotion when deleting f… #7537

Merged
merged 1 commit into from Feb 11, 2016

Conversation

ifed01
Copy link
Contributor

@ifed01 ifed01 commented Feb 5, 2016

…rom the cache that lacks hit_set configured.

Minor cleanup nearby too.

This issue was mentioned at http://tracker.ceph.com/issues/13894 ( comment #12 and beyond ) but it's probably not the root cause of 13894.

Signed-off-by: Igor Fedotov ifedotov@mirantis.com

pool.info.min_write_recency_for_promote,
OpRequestRef(),
promote_obc);
promote_obc)) {
return cache_result_t::BLOCKED_PROMOTE;
Copy link
Member

Choose a reason for hiding this comment

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

This hunk looks like an unrelated bug fix.. can you move it into a separate patch?

@liewegas
Copy link
Member

liewegas commented Feb 6, 2016

can you also move the cleanup into a separate patch? Thanks!

@liewegas liewegas self-assigned this Feb 6, 2016
…rom the cache that lacks hit_set configured.

Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
@ifed01 ifed01 force-pushed the wip-no-promote-for-delete-fix branch from 658ecbc to 12c083e Compare February 9, 2016 12:02
@ifed01
Copy link
Contributor Author

ifed01 commented Feb 9, 2016

@liewegas, fixed.

liewegas added a commit that referenced this pull request Feb 11, 2016
osd: fix unnecessary object promotion when deleting from cache pool

Reviewed-by: Sage Weil <sage@redhat.com>
@liewegas liewegas merged commit cc2200c into ceph:master Feb 11, 2016
@ifed01 ifed01 deleted the wip-no-promote-for-delete-fix branch February 11, 2016 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants