]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson: stop osd before stopping messengers 31904/head
authorKefu Chai <kchai@redhat.com>
Wed, 27 Nov 2019 09:26:46 +0000 (17:26 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 27 Nov 2019 09:35:20 +0000 (17:35 +0800)
commit642f68159e3add230b52410f3069b81da5378f4b
treef5f4d1a7047878cc2e34a711d6964a25da0fbc76
parent22a9a28e2859718c4168f5b3cf6e20a9186e18bc
crimson: stop osd before stopping messengers

so we can drain all pending tasks referencing messenger before
destroying it, otherwise they will be using a already-stopped
messenger when they are still alive.

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