]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: truncate journal on partial write
authorSage Weil <sage@newdream.net>
Tue, 14 Jul 2009 19:27:11 +0000 (12:27 -0700)
committerSage Weil <sage@newdream.net>
Tue, 14 Jul 2009 19:40:39 +0000 (12:40 -0700)
commitb5bae80b6626b55499cab7fc055c8b92d5a42dbf
tree8afbf74f5899509298a7b5cb4b5da2cb52d80538
parentab824409ac5b3f8930f508ec43c35ed4f89842f0
mds: truncate journal on partial write

Otherwise, we start writing new entries, then restart, and end up
with garbage at the write pos.
src/TODO
src/mds/MDLog.cc
src/mds/MDLog.h
src/osdc/Journaler.cc
src/osdc/Journaler.h