]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
create and check omap fsid 6421/head
authorChendi.Xue <chendi.xue@intel.com>
Thu, 18 Feb 2016 02:36:45 +0000 (10:36 +0800)
committerChendi.Xue <chendi.xue@intel.com>
Thu, 18 Feb 2016 02:36:45 +0000 (10:36 +0800)
commit2b15e2b3e895ee414c7bc1a12389b1c78b8f31c6
treee2ec14a38a0f8a3fcfc18340b9e8872e6a31dfdf
parent0441e7d522979fa4704b7e24ad44c1a3d692750f
create and check omap fsid

1. write osd_uuid to omap dir when doing filestore mkfs
2. check if omap fsid matches osd fsid when doing filestore mount
   (if there is no osd_uuid under omap, assume this as match)

Signed-off-by: Chendi.Xue <chendi.xue@intel.com>
src/os/filestore/FileStore.cc