]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/os/alienstore: do not cleanup if not started
authorKefu Chai <kchai@redhat.com>
Sat, 29 May 2021 08:24:59 +0000 (16:24 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 31 May 2021 12:06:40 +0000 (20:06 +0800)
commit703545c59540b19752f079e8519c20a91b117e08
tree625daa86489711e13bccaa2a0bc45add9fd776f1
parentcc59c8248312e2d865a2f05bb8a801d4428e7cd4
crimson/os/alienstore: do not cleanup if not started

there is chance stop() and umount() methods get called even if start()
is not called in the error handling path. in that case, just make these
methods no-op. to ensure that OSD behaves in that case.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/os/alienstore/alien_store.cc