]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crush: add CrushWrapper::rename_bucket and can_rename_bucket
authorLoic Dachary <loic-201408@dachary.org>
Thu, 16 Oct 2014 00:08:13 +0000 (17:08 -0700)
committerLoic Dachary <loic-201408@dachary.org>
Thu, 16 Oct 2014 00:13:59 +0000 (17:13 -0700)
commit30f3ac3fb62840ae900e6b0be8b46e3eced17757
tree6bf5613c55b108c67d7c3e8c9e13534cd86ca541
parent5e2a82675eb50f2e9f0fd8f27fb0e5fed6c97688
crush: add CrushWrapper::rename_bucket and can_rename_bucket

Rename a bucket and return -ENOTDIR if trying to rename an item. The
behavior is otherwise the same as rename_item and can_rename_item.

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
src/crush/CrushWrapper.cc
src/crush/CrushWrapper.h