]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crush/CrushWrapper: explicitly set tunables on create, decode
authorSage Weil <sage@inktank.com>
Tue, 3 Dec 2013 06:12:14 +0000 (22:12 -0800)
committerSage Weil <sage@inktank.com>
Tue, 3 Dec 2013 06:12:14 +0000 (22:12 -0800)
commit07978bb2201717b4de1184b1a568a91ab68f7c27
treef288fbe90d4fb2f4f0310dd4ce04c94ff2d58eb2
parent3f1352ff383290dc8b150f50594cfc060ee28b4d
crush/CrushWrapper: explicitly set tunables on create, decode

Set the tunables to the 'default' values on create.

Default to the legacy values when we decode, so that an old map without
values defined gets legacy values.

Signed-off-by: Sage Weil <sage@inktank.com>
src/crush/CrushWrapper.cc
src/crush/CrushWrapper.h