]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
journal: make wrapping simpler
authorSage Weil <sage@newdream.net>
Mon, 1 Feb 2010 23:44:26 +0000 (15:44 -0800)
committerSage Weil <sage@newdream.net>
Tue, 2 Feb 2010 19:00:32 +0000 (11:00 -0800)
commitf46b1b473fce0322a672b16c7739e569a45054b6
tree695140dfdbfd1d59c8a06b939ebcb41a0b3c2a8b
parent99e316fbe151dc15c46fedcb757759cce6393f33
journal: make wrapping simpler

Take out weirdness that tries to keep journal items contiguous.  No reason
not to split them across the end/beginning of the journal.  In the general
case, this is the same # of seeks because we have to rewrite the header
anyway.
src/os/FileJournal.cc
src/os/FileJournal.h