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: fix sparse-read result code checking logic #7016

Merged
merged 1 commit into from Jan 3, 2016

Conversation

xiexingguo
Copy link
Member

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

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: ceph#14151
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
@xiexingguo
Copy link
Member Author

@tchaikov Could you review this for me? Thanks!

@tchaikov
Copy link
Contributor

lgtm with rados qa run.

@ceph-jenkins
Copy link
Collaborator

Can one of the admins verify this patch?

@tchaikov
Copy link
Contributor

@ceph-jenkins test this please

liewegas added a commit that referenced this pull request Jan 3, 2016
osd: fix sparse-read result code checking logic

Reviewed-by: Kefu Chai <kchai@redhat.com>
@liewegas liewegas merged commit 2533f87 into ceph:master Jan 3, 2016
@xiexingguo xiexingguo deleted the xxg-wip-14151 branch January 4, 2016 00:52
@ghost ghost changed the title ReplicatedPG: fix sparse-read result code checking logic osd: fix sparse-read result code checking logic Feb 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants