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: PrimaryLogPG, PGBackend: complete callback even if interval changes #16536

Merged
merged 1 commit into from Jul 25, 2017

Conversation

Projects
None yet
2 participants
@jdurgin
Member

jdurgin commented Jul 24, 2017

This avoids leaking the callback passed to remove_missing_object().
Use EAGAIN to signal that the work was not completed, so we don't have
to take the pg lock and check if the interval changed again in
PGBackend.

Fixes: http://tracker.ceph.com/issues/20747
Signed-off-by: Josh Durgin jdurgin@redhat.com

osd: PrimaryLogPG, PGBackend: complete callback even if interval changes
This avoids leaking the callback passed to remove_missing_object().
Use EAGAIN to signal that the work was not completed, so we don't have
to take the pg lock and check if the interval changed again in
PGBackend.

Fixes: http://tracker.ceph.com/issues/20747
Signed-off-by: Josh Durgin <jdurgin@redhat.com>

@liewegas liewegas merged commit 6ef3a8e into ceph:master Jul 25, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment