]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crush: simplify osd_pool_default_crush_rule config
authorSage Weil <sage@redhat.com>
Fri, 28 Apr 2017 22:33:49 +0000 (18:33 -0400)
committerSage Weil <sage@redhat.com>
Mon, 19 Jun 2017 23:09:06 +0000 (19:09 -0400)
commit80e3b7380388790a53d8442d3d477d46ce8466ed
tree47956ba7eef23b46ef917b80eec86e19f38292c1
parent6f1a5946b6a617fb32949356cc2e789e5ffd6eae
crush: simplify osd_pool_default_crush_rule config

Make an incompat change here with a release note since
this only affects pool creation, a rare event, and folks
who have customized their configs (also rare).

Keep it simple: a config sets the default rule, or else we pick
the first TYPE_REPLICATED pool in the crush map.

Signed-off-by: Sage Weil <sage@redhat.com>
PendingReleaseNotes
src/common/config.h
src/common/config_opts.h
src/crush/CrushWrapper.cc
src/crush/CrushWrapper.h
src/osd/OSDMap.cc
src/pybind/mgr/restful/api/crush.py
src/pybind/mgr/restful/common.py
src/pybind/mgr/restful/module.py
src/test/mon/osd-pool-create.sh