]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
filestore: lfn_unlink removes the entry as last step
authorYehuda Sadeh <yehuda@hq.newdream.net>
Fri, 22 Apr 2011 17:33:21 +0000 (10:33 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Fri, 22 Apr 2011 17:33:21 +0000 (10:33 -0700)
commitb419f3d7cbea3361d489d1a4dddc4e6b1f932916
treec941f2e646b05c90a3caa599dea62e8d6225bad5
parent1cff807ccff1b97c3ceba2c2b4729ae173e1ec36
filestore: lfn_unlink removes the entry as last step

so that if it crashes in the middle of operation we're not left
with a hole in the list of objects. In case of a crash, recovery
should fix any stale objects. Also it is currently assumed that
we're currently the only users and there are no concurrent
operations.
src/os/FileStore.cc