]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crush: do is_out test only if we do not collide 13326/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Thu, 9 Feb 2017 03:47:12 +0000 (11:47 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Fri, 10 Feb 2017 01:38:09 +0000 (09:38 +0800)
commitdb107cc7f15cf2481894add325dc93e33479f529
tree10b7e18f011bbe33a39bab18aa46dd5cd0e4c9d8
parentd0792bc00f6e545a6f8e4d9cf222909712466ff4
crush: do is_out test only if we do not collide

The is_out() test could requires additional hash, so we shall
skip it whenever it is possible.

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