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

librbd: add valgrind memory checks for unit tests #5280

Merged
11 commits merged into from Jul 28, 2015
Merged

librbd: add valgrind memory checks for unit tests #5280

11 commits merged into from Jul 28, 2015

Conversation

dillaman
Copy link

Jason Dillaman and others added 11 commits July 17, 2015 14:17
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 54c8825)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 6ab1bb5)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit ed5472a)
The destructor wasn't waiting for all Finisher tasks
to complete before stopping the thread.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 8e20240)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 8d87bdf)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 5534faa)
Also made small tweaks so that it can be compiled under
a C++ compiler.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit c44f8e7)
The C API functions were referencing the C++ CephContext
instead of the C rados_config_t.  Additionally, the ceph
namespace was missing on the Formatter class.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 740fd27)
The bytes not in cache stat was potentially reading the bh length
from a deleted bufferhead.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 5ccc442)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 2586e3b)
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>
(cherry picked from commit ada7ec8)
@dillaman dillaman added this to the hammer milestone Jul 17, 2015
ghost pushed a commit that referenced this pull request Jul 19, 2015
… tests

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Jul 19, 2015
… tests

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Jul 19, 2015
… tests

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Jul 19, 2015
… tests

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Jul 19, 2015
… tests

Reviewed-by: Loic Dachary <ldachary@redhat.com>
@ghost ghost self-assigned this Jul 28, 2015
@ghost
Copy link

ghost commented Jul 28, 2015

It went through a rbd suite ( http://tracker.ceph.com/issues/11990#rbd ).

ghost pushed a commit that referenced this pull request Jul 28, 2015
librbd: add valgrind memory checks for unit tests

Reviewed-by: Loic Dachary <ldachary@redhat.com>
@ghost ghost merged commit 6b6228f into hammer Jul 28, 2015
@dillaman dillaman deleted the wip-12384-hammer branch September 7, 2015 18:14
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants