]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
erasure-code: document the ruleset-root profile parameter 1650/head
authorLoic Dachary <loic@dachary.org>
Fri, 11 Apr 2014 11:51:46 +0000 (13:51 +0200)
committerLoic Dachary <loic@dachary.org>
Fri, 11 Apr 2014 11:51:46 +0000 (13:51 +0200)
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>
doc/dev/erasure-coded-pool.rst

index 8ae57d4321a576514868aa0c8c700c1466aaa877..c36755c3b6492e7c1c44d42d889efda232a55720 100644 (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
+