]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
os/bluestore/BlueStore: fix enode uniqueness
authorSage Weil <sage@redhat.com>
Thu, 4 Feb 2016 18:04:53 +0000 (13:04 -0500)
committerSage Weil <sage@redhat.com>
Thu, 4 Feb 2016 18:05:37 +0000 (13:05 -0500)
commitaedb92886902b0df1a7c374bc953722f8655b851
tree76c356b191f7c549bde91f95b1d0441fb58d5e75
parent8497099503ef6bc55eb664653980ad0ac751e574
os/bluestore/BlueStore: fix enode uniqueness

We were failing to set o->enode, which meant that there were
multiple instances of the same enode alive at once.  Avoid this
category of bug by changing _txc_release to take the onode ref
and assign it there, and removing almost all of the local EnodeRef
instances.

Signed-off-by: Sage Weil <sage@redhat.com>
src/os/bluestore/BlueStore.cc
src/os/bluestore/BlueStore.h