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

hammer: osd: ReplicatedPG: wrong result code checking logic during sparse_read #7179

Merged
merged 1 commit into from Jan 14, 2016
Merged

hammer: osd: ReplicatedPG: wrong result code checking logic during sparse_read #7179

merged 1 commit into from Jan 14, 2016

Conversation

ghost
Copy link

@ghost ghost commented Jan 11, 2016

Move ahead the result code checking logic before we continue to verify the trailing hole, otherwise
the real result of non-hole reading may be overwritten and thus confuse caller.

Fixes: #14151
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit b3aa29e)

Conflicts:
	src/osd/ReplicatedPG.cc: trivial resolution
@ghost ghost self-assigned this Jan 11, 2016
@ghost ghost added this to the hammer milestone Jan 11, 2016
@ghost ghost added bug-fix core labels Jan 11, 2016
ghost pushed a commit that referenced this pull request Jan 11, 2016
…cking logic during sparse_read

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Jan 11, 2016
…cking logic during sparse_read

Reviewed-by: Loic Dachary <ldachary@redhat.com>
@ghost
Copy link
Author

ghost commented Jan 14, 2016

@liewegas does this backport look good to merge ? It passed a run of the hammer rados suite ( see http://tracker.ceph.com/issues/13356#note-34 for details ) and the upgrade/hammer suite ( see http://tracker.ceph.com/issues/13356#note-37 for details ).

@ghost ghost assigned liewegas and unassigned ghost Jan 14, 2016
liewegas added a commit that referenced this pull request Jan 14, 2016
hammer: ReplicatedPG: wrong result code checking logic during sparse_read

Reviewed-by: Sage Weil <sage@redhat.com>
@liewegas liewegas merged commit 4e67418 into ceph:hammer Jan 14, 2016
@ghost ghost changed the title hammer: ReplicatedPG: wrong result code checking logic during sparse_read hammer: osd: ReplicatedPG: wrong result code checking logic during sparse_read Feb 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants