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

rbd: misc fixes #4113

Merged
merged 5 commits into from Mar 26, 2015
Merged

rbd: misc fixes #4113

merged 5 commits into from Mar 26, 2015

Conversation

wonzhq
Copy link
Contributor

@wonzhq wonzhq commented Mar 20, 2015

No description provided.

@loic-bot
Copy link

FAIL: the output of run-make-check.sh on centos-7 for 016c411 is http://paste2.org/VXDB7VVj

:octocat: Sent from GH.

Otherwise it may cause conflicts when registering the lock.

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
If length is clipped in aio_discard, the actual discarded length would
be less than the passed in argument.

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
Should call the release function instead of deleting it to free
librbd::RBD::AioCompletion and librbd::AioCompletion. Otherwise there is
a potential memory leak.

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
Return earlier to avoid extra work of reading image data and omap if the
detection fails or the destination image already exists.

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
@loic-bot
Copy link

FAIL: the output of run-make-check.sh on centos-7 for 6189a2e is http://paste2.org/pgBxscKB

:octocat: Sent from GH.

@wonzhq
Copy link
Contributor Author

wonzhq commented Mar 23, 2015

The failure of run-make-check.sh is weird. It fails at test/os/TestLFNIndex.cc. However the changes in this PR don't touch that part of the code. Look at the failure itself, it complains a just successfully created file can't be copied, saying that it doesn't exist. Anything wrong with the server running the script?

Btw, I don't see this failure when running 'make check' locally.

@liewegas
Copy link
Member

liewegas commented Mar 23, 2015 via email

@XinzeChi
Copy link
Contributor

@wonzhq , I think the fails at test/os/TestLFNIndex.cc is not caused by your patch. My patch is also return fail because of test/os/TestLFNIndex.cc. You can repush your code directly.

I think the test case in test/os/TestLFNIndex.cc would run fail sometimes.

@wonzhq
Copy link
Contributor Author

wonzhq commented Mar 24, 2015

Thanks, @XinzeChi . I've already pushed the right code :)

jdurgin added a commit that referenced this pull request Mar 26, 2015
rbd: misc fixes

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
@jdurgin jdurgin merged commit 8873540 into ceph:master Mar 26, 2015
@jdurgin
Copy link
Member

jdurgin commented Mar 26, 2015

Thanks! Nice finds!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants