From: Rishabh Dave Date: Wed, 28 Feb 2018 12:59:03 +0000 (+0530) Subject: ceph: describe application subcommand in ceph man page X-Git-Tag: v14.0.1~122^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=35825f93a20a4adfd8c64745260d403380a94ec5;p=ceph.git ceph: describe application subcommand in ceph man page Add the summary and syntax for all the subcommands under the subcommand "ceph osd pool application" to ceph the manual page. Signed-off-by: Rishabh Dave --- diff --git a/doc/man/8/ceph.rst b/doc/man/8/ceph.rst index bfce4589b7d2..4bd7d1188656 100644 --- a/doc/man/8/ceph.rst +++ b/doc/man/8/ceph.rst @@ -45,6 +45,8 @@ Synopsis | **ceph** **osd** **pool** [ *create* \| *delete* \| *get* \| *get-quota* \| *ls* \| *mksnap* \| *rename* \| *rmsnap* \| *set* \| *set-quota* \| *stats* ] ... +| **ceph** **osd** **pool** **application** [ *disable* \| *enable* \| *get* \| *rm* \| *set* ] ... + | **ceph** **osd** **tier** [ *add* \| *add-cache* \| *cache-mode* \| *remove* \| *remove-overlay* \| *set-overlay* ] ... | **ceph** **pg** [ *debug* \| *deep-scrub* \| *dump* \| *dump_json* \| *dump_pools_json* \| *dump_stuck* \| *getmap* \| *ls* \| *ls-by-osd* \| *ls-by-pool* \| *ls-by-primary* \| *map* \| *repair* \| *scrub* \| *stat* ] ... @@ -1012,6 +1014,43 @@ Usage:: ceph osd pool stats {} +Subcommand ``application`` is used for adding an annotation to the given +pool. By default, the possible applications are object, block, and file +storage (corresponding app-names are "rgw", "rbd", and "cephfs"). However, +there might be other applications as well. Based on the application, there +may or may not be some processing conducted. + +Subcommand ``disable`` disables the given application on the given pool. + +Usage:: + ceph osd pool application disable {--yes-i-really-mean-it} + +Subcommand ``enable`` adds an annotation to the given pool for the mentioned +application. + +Usage:: + ceph osd pool application enable {--yes-i-really-mean-it} + +Subcommand ``get`` displays the value for the given key that is assosciated +with the given application of the given pool. Not passing the optional +arguments would display all key-value pairs for all applications for all +pools. + +Usage:: + ceph osd pool application get {} {} {} + +Subcommand ``rm`` removes the key-value pair for the given key in the given +application of the given pool. + +Usage:: + ceph osd pool application rm + +Subcommand ``set`` assosciates or updates, if it already exists, a key-value +pair with the given application for the given pool. + +Usage:: + ceph osd pool application set + Subcommand ``primary-affinity`` adjust osd primary-affinity from 0.0 <= <= 1.0