]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
OSD: sync_and_flush afer mkfs to create first snap
authorSamuel Just <samuel.just@dreamhost.com>
Thu, 10 Nov 2011 22:07:12 +0000 (14:07 -0800)
committerSamuel Just <samuel.just@dreamhost.com>
Thu, 10 Nov 2011 22:09:34 +0000 (14:09 -0800)
commit7fb182a17b703002c1bd098391fb688b5b1e2749
treec90fa30ffc6ad8279711e43ce40a1259903d4825
parenta3dd5bd67ba19aae51a51318138ef10213a91449
OSD: sync_and_flush afer mkfs to create first snap

Previously, if we kill the OSD process before the filestore
does its first sync, we end up replaying the journal on top
of current and potentially hitting -EEXIST.

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
src/osd/OSD.cc