]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/os: do not fail if fsid file exists when mkfs 27006/head
authorKefu Chai <kchai@redhat.com>
Thu, 14 Mar 2019 08:42:02 +0000 (16:42 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 19 Mar 2019 14:39:38 +0000 (22:39 +0800)
commitbc0896ec7fe351a75e36d803290517c11eac26e7
treef2eee0fd68be64877c07933dd063b9e83aa695d0
parentada3dd05b588fdaf0723a40c3a7e1834c5f8fe48
crimson/os: do not fail if fsid file exists when mkfs

instead of passing a random uuid down to CyanStore::mkfs(), let it
create one if necessary.

Signed-off-by: chunmei Liu <chunmei.liu@intel.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/os/cyan_store.cc
src/crimson/os/cyan_store.h
src/crimson/osd/osd.cc