]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
filestore: mkfs: do not clobber exisiting journal if it has matching fsid
authorSage Weil <sage@inktank.com>
Sat, 19 May 2012 22:59:59 +0000 (15:59 -0700)
committerSage Weil <sage@inktank.com>
Wed, 23 May 2012 23:31:43 +0000 (16:31 -0700)
commitc18e4d80a1c6920bbc68680cc81d327749497ce6
tree4d1c64bd4e017f061d2b1c27bea6036e5b073e2e
parenta074d0b5c320547ecbb376611f3e0c6d33eb8184
filestore: mkfs: do not clobber exisiting journal if it has matching fsid

If the journal is for *this* fs, do not clobber.  If it appears invalid in
any way, initialize it.

Signed-off-by: Sage Weil <sage@inktank.com>
src/os/FileStore.cc