1 $ cp "$TESTDIR/choose-args.crush" .
2 $ crushtool -c choose-args.crush -o choose-args.compiled
3 $ crushtool -d choose-args.compiled -o choose-args.conf
4 $ crushtool -c choose-args.conf -o choose-args.recompiled
5 $ cmp choose-args.crush choose-args.conf
6 $ cmp choose-args.compiled choose-args.recompiled
7 $ crushtool -c choose-args.conf -o /dev/null --dump
148 "op": "chooseleaf_firstn",
159 "choose_local_tries": 2,
160 "choose_local_fallback_tries": 5,
161 "choose_total_tries": 19,
162 "chooseleaf_descend_once": 0,
163 "chooseleaf_vary_r": 0,
164 "chooseleaf_stable": 0,
165 "straw_calc_version": 0,
166 "allowed_bucket_algs": 22,
167 "profile": "argonaut",
168 "optimal_tunables": 0,
169 "legacy_tunables": 1,
170 "minimum_required_version": "argonaut",
171 "require_feature_tunables": 0,
172 "require_feature_tunables2": 0,
174 "require_feature_tunables3": 0,
177 "require_feature_tunables5": 0,
278 $ crushtool -c choose-args.conf -o /dev/null --dump | jq .for_json_validation