]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: Execute crush_location_hook when configured in ceph.conf 15951/head
authorWido den Hollander <wido@42on.com>
Tue, 27 Jun 2017 14:17:58 +0000 (16:17 +0200)
committerWido den Hollander <wido@42on.com>
Tue, 27 Jun 2017 14:17:58 +0000 (16:17 +0200)
commitbe7aecc9564c4e39458e29ad3fd6d0d55eb61b6b
treefcefcea8da4c2266769a604a8eec2557a7fbd620
parent7f3a73baf5a5b36cee07f90a3ebfdfce1f2959e6
osd: Execute crush_location_hook when configured in ceph.conf

CrushLocation only invoked update_from_conf() which meant that
update_from_hook() was never executed.

By called init_on_startup() both functions are executed so that
the hook is called when configured.

Signed-off-by: Wido den Hollander <wido@42on.com>
src/crush/CrushLocation.h