]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph_test_rados_api_watch_notify: flush after unwatch 16402/head
authorSage Weil <sage@redhat.com>
Tue, 18 Jul 2017 21:42:31 +0000 (17:42 -0400)
committerSage Weil <sage@redhat.com>
Tue, 18 Jul 2017 21:42:31 +0000 (17:42 -0400)
commitdfc32bcb1a59bb1d674a75838134ed8c6169a400
tree15c2505f3bb1aa989de36af5c4961e86310c6c90
parent1df7833cb3269ee5196a9abf8b6780a32013e04b
ceph_test_rados_api_watch_notify: flush after unwatch

After we unwatch, we need to make sure the finisher thread has flushed
its work before we tear down the test.  Otherwise, the notify callback
may dereference the test object looking for a member and segfault.

Probably-Fixes: http://tracker.ceph.com/issues/20105
Signed-off-by: Sage Weil <sage@redhat.com>
src/test/librados/watch_notify.cc