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

jewel: RGWRados::get_system_obj() sends unnecessary stat request before read #11867

Merged
merged 1 commit into from Nov 11, 2016
Merged

jewel: RGWRados::get_system_obj() sends unnecessary stat request before read #11867

merged 1 commit into from Nov 11, 2016

Conversation

ghost
Copy link

@ghost ghost commented Nov 9, 2016

get_system_obj() calls get_system_obj_state() to send a [getxattrs,stat]
request and fill out an RGWObjState - but the results are not used

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

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 973d007)
@ghost ghost self-assigned this Nov 9, 2016
@ghost ghost added this to the jewel milestone Nov 9, 2016
@ghost ghost added bug-fix rgw labels Nov 9, 2016
@ghost ghost changed the base branch from jewel to jewel-next November 9, 2016 15:28
@ghost
Copy link
Author

ghost commented Nov 9, 2016

jenkins test this please (general jenkins failure)

ghost pushed a commit that referenced this pull request Nov 9, 2016
…necessary stat request before read

Reviewed-by: Loic Dachary <ldachary@redhat.com>
@ghost ghost assigned oritwas Nov 11, 2016
@ghost
Copy link
Author

ghost commented Nov 11, 2016

@oritwas does this backport look good to merge ? It passed the rgw suite http://tracker.ceph.com/issues/17851#note-3 . Note that it will not be in 10.2.4, reason why it targets jewel-next.

@oritwas oritwas merged commit d78b01f into ceph:jewel-next Nov 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants