Seems like to logic is moved here:
```
last_commit = start_seq;
apply_backref_byseq(t.move_backref_entries(), start_seq);
commit_backref_entries(std::move(backref_entries), start_seq);
```
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
get_dummy_ordering_handle(),
is_weak,
src,
- last_commit,
[this](Transaction& t) {
return on_transaction_destruct(t);
},
SUBDEBUGT(seastore_t, "reset", t);
++(get_by_src(stats.trans_created_by_src, t.get_src()));
}
- t.reset_preserve_handle(last_commit);
+ t.reset_preserve_handle();
}
/// Declare ref retired in t
OrderingHandle &&handle,
bool weak,
src_t src,
- journal_seq_t initiated_after,
on_destruct_func_t&& f,
transaction_id_t trans_id,
cache_hint_t cache_hint
friend class crimson::os::seastore::SeaStore;
friend class TransactionConflictCondition;
- void reset_preserve_handle(journal_seq_t initiated_after) {
+ void reset_preserve_handle() {
root.reset();
offset = 0;
delayed_temp_offset = 0;
get_dummy_ordering_handle(),
false,
Transaction::src_t::MUTATE,
- JOURNAL_SEQ_NULL,
[](Transaction&) {},
++next_id,
CACHE_HINT_TOUCH