Basicly the variable count is used as the
total number of op_seq for journal replay.
But it is not added as the op trsanctions is done.
So add the expression to make the variable count
usefull.
Signed-off-by: tianqing <tianqing@unitedstack.com>
apply_manager.op_apply_finish(seq);
op_seq = seq;
+ count++;
dout(3) << "journal_replay: r = " << r << ", op_seq now " << op_seq << dendl;
}
+ if (count)
+ dout(3) << "journal_replay: total = " << count << dendl;
+
replaying = false;
submit_manager.set_op_seq(op_seq);