]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: Prevented erasure of element from onode_map during iteration
authorAdam Kupczyk <akupczyk@redhat.com>
Wed, 2 Dec 2020 22:47:30 +0000 (17:47 -0500)
committerAdam Kupczyk <akupczyk@redhat.com>
Mon, 14 Dec 2020 15:25:57 +0000 (10:25 -0500)
commit6c8e8a757485d27bfa93d344f3e04aaf29c68cc4
tree1e870e42014675f1cb3e06f6b084c7a1d90c5286
parentaaebfe0abe78bf46c52ef6c4481c517353edf9ac
os/bluestore: Prevented erasure of element from onode_map during iteration

When onode.exists == false getting reference and then releasing it might delete it from container.
It must not happen during iteration.

Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
src/os/bluestore/BlueStore.cc
src/os/bluestore/BlueStore.h