From 23f30ec75205809bee15641b5f0ca0f436906512 Mon Sep 17 00:00:00 2001 From: xie xingguo Date: Tue, 18 Jul 2017 17:05:50 +0800 Subject: [PATCH] doc/release-notes: update device-class cli family Signed-off-by: xie xingguo --- doc/release-notes.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/release-notes.rst b/doc/release-notes.rst index ddc32126365..486fcc75426 100644 --- a/doc/release-notes.rst +++ b/doc/release-notes.rst @@ -232,9 +232,14 @@ Major Changes from Kraken - ``ceph osd reweightn`` will specify the `reweight` values for multiple OSDs in a single command. This is equivalent to a series of ``ceph osd reweight`` commands. - - ``ceph osd crush class {create,rm,ls,rename}`` manage the new + - ``ceph osd crush class {rm,ls,ls-osd}`` manage the new CRUSH *device class* feature. ``ceph crush set-device-class [...]`` will set the class for particular devices. + Note that if you specify a non-existent class, it will be created + automatically. ``ceph crush rm-device-class [...]`` + will instead remove the class for particular devices. + And if a class contains no more devices, it will be automatically + destoryed. - ``ceph osd crush rule create-replicated`` replaces the old ``ceph osd crush rule create-simple`` command to create a CRUSH rule for a replicated pool. Notably it takes a `class` argument -- 2.39.5