]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-objectstore-tool: On any exit release CephContext so logging can flush
authorDavid Zafman <dzafman@redhat.com>
Mon, 9 Feb 2015 20:46:20 +0000 (12:46 -0800)
committerDavid Zafman <dzafman@redhat.com>
Wed, 13 May 2015 20:09:11 +0000 (13:09 -0700)
commit409328bace0ffb3a457c0d384377bbbf37a2962d
tree8dd03c243a726ed23c718a6a74cbce1c3aad0f1d
parentfb2f9d500e52aa0834666550a684fe991701c9dd
ceph-objectstore-tool: On any exit release CephContext so logging can flush

Add myexit() which will put() the g_ceph_context if present before exit
Must umount() once the objectstore has been mounted

Fixes: #10809
Signed-off-by: David Zafman <dzafman@redhat.com>
src/test/ceph_objectstore_tool.py
src/tools/ceph_objectstore_tool.cc