]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore/BlueStore: default Onode::true to false
authorSage Weil <sage@redhat.com>
Thu, 4 Feb 2016 15:30:13 +0000 (10:30 -0500)
committerSage Weil <sage@redhat.com>
Thu, 4 Feb 2016 15:30:13 +0000 (10:30 -0500)
commit8497099503ef6bc55eb664653980ad0ac751e574
treec81a3e788b0ab893bd747683cdb5eacdcaa3601b
parentabe31b1a97e63d2e20c66d18e36617412a85d9b1
os/bluestore/BlueStore: default Onode::true to false

This patch is mostly a wash, except that _rename now avoids doing the
_do_remove() work in the case where the object didn't exist before.

Reported-by: ie xingguo <xie.xingguo@zte.com.cn>
Signed-off-by: Sage Weil <sage@redhat.com>
src/os/bluestore/BlueStore.cc
src/os/bluestore/BlueStore.h