]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: do not hardwire crushtool command line
authorLoic Dachary <ldachary@redhat.com>
Mon, 2 Mar 2015 10:14:18 +0000 (11:14 +0100)
committerLoic Dachary <ldachary@redhat.com>
Tue, 3 Mar 2015 01:13:08 +0000 (02:13 +0100)
commit7a5a635ffb9241511f706b04de1a42b2eb7533c5
tree08f6c2a72bc27416a67939ffc04fe7072f8777f1
parent7e89f51d8fc4062d92bcfed0b92a0fc0915e50fc
mon: do not hardwire crushtool command line

Make crushtool a configuration value that defaults to crushtool and
allow it to be injected. It helps with testing: the command can be
replaced with another that misbehaves in various ways.

Signed-off-by: Loic Dachary <loic@dachary.org>
src/common/config_opts.h
src/crush/CrushTester.cc
src/crush/CrushTester.h
src/mon/Monitor.cc
src/mon/OSDMonitor.cc