dout(10) << "commit_start blocked, all open_ops have completed" << dendl;
assert(open_ops == 0);
- if (applied_seq == committed_seq && !force_commit) {
+ if (applied_seq == committed_seq) {
dout(10) << "commit_start nothing to do" << dendl;
blocked = false;
if (!ops_apply_blocked.empty())
goto out;
}
- force_commit = false;
com_lock.Lock();
// we can _only_ read applied_seq here because open_ops == 0 (we've
list<uint64_t> ops_submitting;
list<Cond*> ops_apply_blocked;
- bool replaying, force_commit;
+ bool replaying;
protected:
void journal_start();
void journal_stop();
int journal_replay(uint64_t fs_op_seq);
- virtual void trigger_commit(uint64_t op_seq) = 0;
- void _trigger_commit(uint64_t op_seq);
-
// --
uint64_t op_submit_start();
void op_submit_finish(uint64_t op_seq);
journal(NULL), finisher(g_ceph_context),
journal_lock("JournalingObjectStore::journal_lock"),
com_lock("JournalingObjectStore::com_lock"),
- replaying(false), force_commit(false) { }
+ replaying(false) {}
};