]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crush: remove unnecessary sanity check 8681/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Thu, 21 Apr 2016 07:51:41 +0000 (15:51 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Thu, 21 Apr 2016 07:54:51 +0000 (15:54 +0800)
commit0a1fa15ab5d4b21066a738aba4b03bca6302967e
tree9f2255a7c2e1935be28011fbd88a747a556455cb
parentdffc46c668ad7877664c3898f1e4e0823807acbc
crush: remove unnecessary sanity check

We have done sanity check with bucket_exists() above, so these
checks are redundant and less effcient.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/crush/CrushWrapper.cc