]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crush: no need to double check root bucket id
authorChangcheng Liu <changcheng.liu@aliyun.com>
Mon, 24 Aug 2020 02:53:39 +0000 (10:53 +0800)
committerChangcheng Liu <changcheng.liu@aliyun.com>
Sun, 6 Sep 2020 12:56:59 +0000 (20:56 +0800)
commit51ae2909efc7f78ac5aaea6266afc2ca8084c95f
tree37b74c5718e547084ea16d94b670d64e04e22a54
parent2931862bd8aa1da89a07c2b2f66f2e2e707fbdf9
crush: no need to double check root bucket id

root bucket id should be definitely less than 0. assert(r < 0) here.
There's no possible to find device items in find_nonshadow_roots.

Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>
src/crush/CrushWrapper.cc