]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crush: parse CEPH_ARGS in crushtool
authorLoic Dachary <loic@dachary.org>
Sat, 11 Jan 2014 10:46:57 +0000 (11:46 +0100)
committerLoic Dachary <loic@dachary.org>
Sun, 12 Jan 2014 16:48:32 +0000 (17:48 +0100)
commit2765f81affb46fc47a396d3fd486010e9c1e4d65
tree4541c6e457910cb2e19b22b7ba3e8bba3a73ff85
parentcf9a764957364c92e3d7944f5b45fb41ed68ef98
crush: parse CEPH_ARGS in crushtool

The arguments are not given to global_init because the -c option would
conflict. Reading arguments from CEPH_ARGS the way other ceph tools do
is the only way to control verbosity ( via --debug_crush 0 for instance ).

Signed-off-by: Loic Dachary <loic@dachary.org>
src/tools/crushtool.cc