From db3e0b5129ec4c4f3e333f5a919a4094c4eb3fd9 Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Fri, 11 Apr 2014 13:51:46 +0200 Subject: [PATCH] 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 --- doc/dev/erasure-coded-pool.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/dev/erasure-coded-pool.rst b/doc/dev/erasure-coded-pool.rst index 8ae57d4321a5..c36755c3b649 100644 --- a/doc/dev/erasure-coded-pool.rst +++ b/doc/dev/erasure-coded-pool.rst @@ -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 + -- 2.47.3