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

mimic: rbd: librbd: async open/close should free ImageCtx before issuing callback #28125

Merged
merged 2 commits into from
Oct 8, 2019

Conversation

dillaman
Copy link

@dillaman dillaman added this to the mimic milestone May 15, 2019
@smithfarm
Copy link
Contributor

@dillaman Please rebase

Jason Dillaman added 2 commits October 1, 2019 07:37
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
Copy link
Author

dillaman commented Oct 1, 2019

@smithfarm done

@smithfarm smithfarm changed the title mimic: librbd: async open/close should free ImageCtx before issuing callback mimic: rbd: librbd: async open/close should free ImageCtx before issuing callback Oct 1, 2019
@yuriw
Copy link
Contributor

yuriw commented Oct 4, 2019

@yuriw yuriw merged commit 0a861a3 into ceph:mimic Oct 8, 2019
@dillaman dillaman deleted the wip-39429-mimic branch October 8, 2019 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants