]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
filestore: assert on out of order journal pipeline submissions
authorSage Weil <sage@newdream.net>
Mon, 3 Jan 2011 21:14:49 +0000 (13:14 -0800)
committerSage Weil <sage@newdream.net>
Mon, 3 Jan 2011 21:14:49 +0000 (13:14 -0800)
Signed-off-by: Sage Weil <sage@newdream.net>
src/os/JournalingObjectStore.cc

index 6e72932a6f61f33e166e02c69eedbdcffc44b6d9..fb2a60043309c4b901bed1d96870722833936601 100644 (file)
@@ -154,6 +154,7 @@ void JournalingObjectStore::op_submit_finish(uint64_t op)
   if (op != ops_submitting.front()) {
     dout(0) << "op_submit_finish " << op << " expected " << ops_submitting.front()
            << ", OUT OF ORDER" << dendl;
+    assert(0 == "out of order op_submit_finish");
   }
   ops_submitting.pop_front();
   journal_lock.Unlock();