From eb890b1bdc3770c5ca5e55c523acd4f9b2aed82d Mon Sep 17 00:00:00 2001 From: David Zafman Date: Fri, 20 Mar 2015 15:33:39 -0700 Subject: [PATCH 1/2] doc: Break ceph osd pool get into sections based on pool type Signed-off-by: David Zafman --- doc/man/8/ceph.rst | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/doc/man/8/ceph.rst b/doc/man/8/ceph.rst index 038d99a5456..08d06bae387 100644 --- a/doc/man/8/ceph.rst +++ b/doc/man/8/ceph.rst @@ -841,14 +841,18 @@ Subcommand ``get`` gets pool parameter . Usage:: ceph osd pool get size|min_size|crash_replay_interval|pg_num| - pgp_num|crush_ruleset|hit_set_type|hit_set_period|hit_set_count|hit_set_fpp + pgp_num|crush_ruleset|auid|write_fadvise_dontneed - ceph osd pool get auid|target_max_objects|target_max_bytes +Only for tiered pools:: - ceph osd pool get cache_target_dirty_ratio|cache_target_full_ratio + ceph osd pool get hit_set_type|hit_set_period|hit_set_count|hit_set_fpp| + target_max_objects|target_max_bytes|cache_target_dirty_ratio| + cache_target_full_ratio|cache_min_flush_age|cache_min_evict_age| + min_read_recency_for_promote - ceph osd pool get cache_min_flush_age|cache_min_evict_age| - erasure_code_profile|min_read_recency_for_promote|write_fadvise_dontneed +Only for erasure coded pools:: + + ceph osd pool get erasure_code_profile Subcommand ``get-quota`` obtains object or byte limits for pool. From 0a0d8f691e07fb02f3172ab1eb587daeeb53774f Mon Sep 17 00:00:00 2001 From: David Zafman Date: Fri, 20 Mar 2015 15:38:33 -0700 Subject: [PATCH 2/2] doc: Regenerate man/ceph.8 based on ceph.rst changes Signed-off-by: David Zafman --- man/ceph.8 | 38 +++++++++++++++++++++++++++++--------- 1 file changed, 29 insertions(+), 9 deletions(-) diff --git a/man/ceph.8 b/man/ceph.8 index c168670178e..0ec9d538583 100644 --- a/man/ceph.8 +++ b/man/ceph.8 @@ -1,6 +1,6 @@ .\" Man page generated from reStructuredText. . -.TH "CEPH" "8" "March 12, 2015" "dev" "Ceph" +.TH "CEPH" "8" "March 22, 2015" "dev" "Ceph" .SH NAME ceph \- ceph administration tool . @@ -1779,14 +1779,34 @@ Usage: .nf .ft C ceph osd pool get size|min_size|crash_replay_interval|pg_num| -pgp_num|crush_ruleset|hit_set_type|hit_set_period|hit_set_count|hit_set_fpp - -ceph osd pool get auid|target_max_objects|target_max_bytes - -ceph osd pool get cache_target_dirty_ratio|cache_target_full_ratio - -ceph osd pool get cache_min_flush_age|cache_min_evict_age| -erasure_code_profile|min_read_recency_for_promote|write_fadvise_dontneed +pgp_num|crush_ruleset|auid|write_fadvise_dontneed +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Only for tiered pools: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +ceph osd pool get hit_set_type|hit_set_period|hit_set_count|hit_set_fpp| +target_max_objects|target_max_bytes|cache_target_dirty_ratio| +cache_target_full_ratio|cache_min_flush_age|cache_min_evict_age| +min_read_recency_for_promote +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Only for erasure coded pools: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +ceph osd pool get erasure_code_profile .ft P .fi .UNINDENT