pool_root.first_valid_entry = first_valid_entry;
Context *ctx = new LambdaContext(
- [this, flushed_sync_gen, first_valid_entry,
- initial_first_valid_entry, retiring_entries](int r) {
+ [this, first_valid_entry, initial_first_valid_entry,
+ retiring_entries](int r) {
uint64_t allocated_bytes = 0;
uint64_t cached_bytes = 0;
uint64_t former_log_pos = 0;
this->process_writeback_dirty_entries();
});
- std::lock_guard locker(m_lock);
- schedule_update_root(new_root, ctx);
+ std::lock_guard locker(m_lock);
+ schedule_update_root(new_root, ctx);
} else {
ldout(cct, 20) << "Nothing to retire" << dendl;
return false;