]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crush/CrushTester: test fewer inputs when running crushtool 6192/head
authorSage Weil <sage@redhat.com>
Fri, 21 Aug 2015 20:40:34 +0000 (16:40 -0400)
committerLoic Dachary <ldachary@redhat.com>
Wed, 7 Oct 2015 16:09:48 +0000 (18:09 +0200)
commit2a28114053fbf4ceee09558790ad3cf755270d5f
treefe8a2d3dede30131adbe93f261b8963196030e83
parentabc5b5f139b05da0be0fbaa99282be16386980db
crush/CrushTester: test fewer inputs when running crushtool

If there are a lot of crush rules (say, 100) then the test can
take a long time.  100 values per rule should be enough to catch
most issues.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 0f82f461b33d93d868e185912a2c7e4074d06900)

Conflicts:
src/crush/CrushTester.cc
  in hammer the crushtool validation is via a shell
       and not via an internal subprocess utility
src/crush/CrushTester.cc