]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: let users specify a crush location on boot, and send it in MMonJoin
authorGreg Farnum <gfarnum@redhat.com>
Mon, 29 Mar 2021 23:06:53 +0000 (23:06 +0000)
committerGreg Farnum <gfarnum@redhat.com>
Wed, 31 Mar 2021 07:14:42 +0000 (07:14 +0000)
commit48886aa12a351919d8165d449c2fb72a896fc589
tree239fa8b5078edd74188ccfceaa2b3f2aa3b318cb
parent9c0e32db4ea45d91f9c4b464fab51d5a324569da
mon: let users specify a crush location on boot, and send it in MMonJoin

Go to some effort to look at our location in the monmap and update it the
same way we update names or IP addresses when necessary. Let users
pass in the location on the CLI via "--set-crush-location".

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
src/ceph_mon.cc
src/mon/Monitor.cc
src/mon/Monitor.h