]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: create msgrs in main.cc
authorKefu Chai <kchai@redhat.com>
Fri, 15 Mar 2019 11:15:43 +0000 (19:15 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 20 Mar 2019 07:41:39 +0000 (15:41 +0800)
commitbcc64d2f23978e410f51115e010f8de56db66777
tree3a47db7983937abcb7938c6bd7e88af8d9ead7e3
parentf7acddb605fe4d43911ee9d0482879976075d17a
crimson/osd: create msgrs in main.cc

messengers are sharded<Service>. we should not create them in another
sharded service's start() method. to ensure the ordering of stop of
sharded services, we should create the sharded services in main().
and register their stop() method in the proper order.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/heartbeat.cc
src/crimson/osd/heartbeat.h
src/crimson/osd/main.cc
src/crimson/osd/osd.cc
src/crimson/osd/osd.h