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

rgw: add tail tag to track tail instance #16145

Merged
merged 1 commit into from Sep 6, 2017
Merged

Conversation

yehudasa
Copy link
Member

@yehudasa yehudasa commented Jul 5, 2017

Use tail_tag instead of idtag. The tail_tag is modified when either
creating a new tail, or adding a refcount to the tail (e.g., when
copying object). When just modifying the object's head, tail_tag
should remain the same. The gc will then use the tail_tag (if
exists, idtag if not) as the refcount id.

Fixes: http://tracker.ceph.com/issues/20234

Signed-off-by: Yehuda Sadeh yehuda@redhat.com

Copy link
Contributor

@mattbenjamin mattbenjamin left a comment

Choose a reason for hiding this comment

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

this looks good, seems sound

@mattbenjamin
Copy link
Contributor

@yehudasa what's next for this one?

Use tail_tag instead of idtag. The tail_tag is modified when either
creating a new tail, or adding a refcount to the tail (e.g., when
copying object). When just modifying the object's head, tail_tag
should remain the same. The gc will then use the tail_tag (if
exists, idtag if not) as the refcount id.

Fixes: http://tracker.ceph.com/issues/20234

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
@yehudasa
Copy link
Member Author

@oritwas
Copy link
Member

oritwas commented Sep 6, 2017

jenkins test this please

@oritwas oritwas merged commit f71af81 into ceph:master Sep 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants