]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/PGMap: use new-style options 18735/head
authorKefu Chai <kchai@redhat.com>
Tue, 31 Oct 2017 10:42:51 +0000 (18:42 +0800)
committerShinobu Kinjo <shinobu@redhat.com>
Mon, 6 Nov 2017 06:55:09 +0000 (15:55 +0900)
commitf0914619a5cc0d9108c4c6efd0f3464ec4fd0fff
treead4e8862bf1d5ae73fa080514b7ed52ef82786c4
parentbacebf0fd7f841185236c1dc6754955da1dfb9b2
mon/PGMap: use new-style options

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 7a23097c34c35c1bf6ec09e86ed3acbb0807068c)

Conflicts:
src/common/legacy_config_opts.h
src/mon/PGMap.cc: in 729a089, PGMap::get_health() is removed
from master branch, but in luminous, this function is still around for
backward compatibility. but that function is still using the old-style
options. in this change, i choose to keep some of the old-style options
removed in the cherry-picked cleanup to appease PGMap::get_health(),
instead of migrating all of them to the new-style because of less
efforts.
src/common/legacy_config_opts.h
src/common/options.cc
src/mon/PGMap.cc