]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: make object existence check robust
authorSage Weil <sage@redhat.com>
Thu, 1 Sep 2016 15:43:55 +0000 (11:43 -0400)
committerSage Weil <sage@redhat.com>
Thu, 1 Sep 2016 15:45:36 +0000 (11:45 -0400)
commit0210f1fde6f8e17affdd0c49055a71a01f109447
tree11751b9697b3c3fbfd8aa029d25a4bdbe18ecb22
parentd19b59668d5af7b9f38fc35be1d2d4db5d2cf8cc
os/bluestore: make object existence check robust

We may have the OnodeRef defined but the object may have
exists==false.  Move the check out of the lookup block
so that we get the right behavior.

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