]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
filejournal: set last_committed_seq based on fs, not journal
authorSage Weil <sage@newdream.net>
Mon, 5 Dec 2011 17:34:44 +0000 (09:34 -0800)
committerSage Weil <sage@newdream.net>
Mon, 5 Dec 2011 17:37:10 +0000 (09:37 -0800)
commitdc167bac7800c75df971bded4b54e0de48f7b18f
tree97e936c29c28379154d71fdc5b524a50a2499049
parent321ecdaba2ceeddb0789d8f4b7180a8ea5785d83
filejournal: set last_committed_seq based on fs, not journal

last_committed_seq is the last seq committed to the fs, not the journal.
Set it when we begin replay with the fs provided value, not from the newest
entry in the journal.

Signed-off-by: Sage Weil <sage@newdream.net>
src/os/FileJournal.cc
src/os/JournalingObjectStore.cc