]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-osd: --flush-journal: sporadic segfaults on exit 13311/head
authorAlexey Sheplyakov <asheplyakov@mirantis.com>
Tue, 7 Feb 2017 12:47:45 +0000 (16:47 +0400)
committerAlexey Sheplyakov <asheplyakov@mirantis.com>
Thu, 9 Feb 2017 11:32:21 +0000 (15:32 +0400)
commit00184814c156f6194a6ba4b696073ca1c18a3f8f
tree80f0503eb8820f7a6d92d1fce8703ca822ad4c0f
parentf95627f2205ebf460f2772eab2784487e701461b
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>
src/ceph_osd.cc