]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-osd: --flush-journal: sporadic segfaults on exit 13490/head
authorAlexey Sheplyakov <asheplyakov@mirantis.com>
Tue, 7 Feb 2017 12:47:45 +0000 (16:47 +0400)
committerShinobu Kinjo <shinobu@redhat.com>
Fri, 17 Feb 2017 17:23:13 +0000 (02:23 +0900)
commit33d9a50dec40346511f8480061dadab2a30174cc
treebc59720e941e13a98e0505d7903507536983cb41
parentce8edcfed6cd908779efd229202eab1232d16f1c
ceph-osd: --flush-journal: sporadic segfaults on exit

FileStore holds a number of recources like op thread pool and work
queue, key/value DB threads, etc. These should be properly stopped
(released) before exiting to avoid segfaults on exit.

Note: more code paths (mkfs, dump_journal, etc) need similar fixes,
these will be submitted as separate patches.

Fixes: http://tracker.ceph.com/issues/18820
Signed-off-by: Alexey Sheplyakov <asheplyakov@mirantis.com>
(cherry picked from commit 00184814c156f6194a6ba4b696073ca1c18a3f8f)
src/ceph_osd.cc