]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crush: compile/decompile crush_choose_arg_map
authorLoic Dachary <ldachary@redhat.com>
Sat, 15 Apr 2017 16:32:58 +0000 (18:32 +0200)
committerLoic Dachary <ldachary@redhat.com>
Tue, 18 Apr 2017 07:45:03 +0000 (09:45 +0200)
commitdbe36e08be00c6519a8c89718dd47b0219c20516
tree7f05a26a774741a44b110064469e951fb0351247
parent55fb91d64071552ea1bc65ab4ea84d3c8b73ab4b
crush: compile/decompile crush_choose_arg_map

A map of crush_choose_arg_map is added to the crushmap text syntax. The
key is an integer matching a pool number.

Signed-off-by: Loic Dachary <loic@dachary.org>
src/crush/CrushCompiler.cc
src/crush/CrushCompiler.h
src/crush/CrushWrapper.cc
src/crush/CrushWrapper.h
src/crush/grammar.h
src/test/cli/crushtool/choose-args.crush [new file with mode: 0644]
src/test/cli/crushtool/choose-args.t [new file with mode: 0644]
src/test/cli/osdmaptool/crush.t