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

luminous: librbd: async open/close should free ImageCtx before issuing callback #28126

Merged
merged 2 commits into from Jun 26, 2019

Conversation

dillaman
Copy link

Jason Dillaman added 2 commits May 15, 2019 15:43
The destructor for ImageCtx attempts to access librados::IoCtx objects
that might have been destroyed immediately after the async open (failure)
and close actions completed.

Fixes: http://tracker.ceph.com/issues/39031
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit be419a1)

Conflicts:
	src/librbd/io/AioCompletion.cc: assert->ceph_assert confict
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit ba52f42)
@dillaman dillaman added this to the luminous milestone May 15, 2019
@yuriw
Copy link
Contributor

yuriw commented Jun 24, 2019

@yuriw yuriw merged commit 2edf4f9 into ceph:luminous Jun 26, 2019
@dillaman dillaman deleted the wip-39427-luminous branch June 26, 2019 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants