Skip to content

nautilus: librbd: race when disabling object map with overlapping in-flight writes#41787

Merged
yuriw merged 1 commit intoceph:nautilusfrom
trociny:wip-46149-nautilus
Jun 16, 2021
Merged

nautilus: librbd: race when disabling object map with overlapping in-flight writes#41787
yuriw merged 1 commit intoceph:nautilusfrom
trociny:wip-46149-nautilus

Conversation

@trociny
Copy link
Contributor

@trociny trociny commented Jun 9, 2021

backport tracker: https://tracker.ceph.com/issues/46149


backport of #35658
parent tracker: https://tracker.ceph.com/issues/46083

this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/master/src/script/ceph-backport.sh

The block guard that protects against overlapping updates to the object
map needs to be flushed prior to closing the object map instance.

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

Conflicts:
	src/librbd/ObjectMap.cc (FunctionContext vs LambdaContext, on_finish vs ctx)
@trociny trociny added this to the nautilus milestone Jun 9, 2021
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.

3 participants