summaryrefslogtreecommitdiffstats
path: root/src/mon/MonCommands.h
diff options
context:
space:
mode:
authorMa Jianpeng <jianpeng.ma@intel.com>2014-07-17 02:48:34 +0200
committerSage Weil <sage@inktank.com>2014-07-17 02:49:00 +0200
commite8ebcb79a462de29bcbabe40ac855634753bb2be (patch)
treeb696238978cc75beab616528d4f849f87faeb488 /src/mon/MonCommands.h
parentMerge remote-tracking branch 'gh/next' (diff)
downloadceph-e8ebcb79a462de29bcbabe40ac855634753bb2be.tar.xz
ceph-e8ebcb79a462de29bcbabe40ac855634753bb2be.zip
mon: OSDMonitor: add "osd pool get <pool> erasure_code_profile" command
Enable us to obtain the erasure-code-profile for a given erasure-pool. Signed-off-by: Ma Jianpeng <jianpeng.ma@intel.com> Signed-off-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'src/mon/MonCommands.h')
-rw-r--r--src/mon/MonCommands.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mon/MonCommands.h b/src/mon/MonCommands.h
index f429e0ff59e..627546b4f05 100644
--- a/src/mon/MonCommands.h
+++ b/src/mon/MonCommands.h
@@ -571,7 +571,7 @@ COMMAND("osd pool rename " \
"rename <srcpool> to <destpool>", "osd", "rw", "cli,rest")
COMMAND("osd pool get " \
"name=pool,type=CephPoolname " \
- "name=var,type=CephChoices,strings=size|min_size|crash_replay_interval|pg_num|pgp_num|crush_ruleset|hit_set_type|hit_set_period|hit_set_count|hit_set_fpp|auid|target_max_objects|target_max_bytes|cache_target_dirty_ratio|cache_target_full_ratio|cache_min_flush_age|cache_min_evict_age", \
+ "name=var,type=CephChoices,strings=size|min_size|crash_replay_interval|pg_num|pgp_num|crush_ruleset|hit_set_type|hit_set_period|hit_set_count|hit_set_fpp|auid|target_max_objects|target_max_bytes|cache_target_dirty_ratio|cache_target_full_ratio|cache_min_flush_age|cache_min_evict_age|erasure_code_profile", \
"get pool parameter <var>", "osd", "r", "cli,rest")
COMMAND("osd pool set " \
"name=pool,type=CephPoolname " \