erasure-code: document the ruleset-root profile parameter

If unspecified it is ruleset-root=default and will translate into

   take default

when a ruleset is created for an erasure-code pool.

Signed-off-by: Loic Dachary <loic@dachary.org>
This commit is contained in:
Loic Dachary 2014-04-11 13:51:46 +02:00
parent e46af060c3
commit db3e0b5129

View File

@ -123,3 +123,15 @@ Remove a profile that is no longer in use (otherwise it will fail with EBUSY)::
$ ceph osd erasure-code-profile rm myprofile
$ ceph osd erasure-code-profile ls
default
Set the ruleset to take ssd (instead of default)::
$ ceph osd erasure-code-profile set myprofile \
ruleset-root=ssd
$ ceph osd erasure-code-profile get myprofile
k=2
m=1
plugin=jerasure
technique=reed_sol_van
ruleset-root=ssd