Signed-off-by: Samuel Just <sjust@redhat.com>
return out;
}
+ virtual void logical_on_delta_write() {}
+
+ void on_delta_write(paddr_t record_block_offset) final {
+ logical_on_delta_write();
+ }
+
private:
laddr_t laddr = L_ADDR_NULL;
LBAPinRef pin;
return bl;
}
-void OnodeBlock::on_initial_write()
-{}
-
-void OnodeBlock::on_delta_write(paddr_t)
+void OnodeBlock::logical_on_delta_write()
{
// journal submitted to disk, now update the memory
apply_pending_changes(true);
// before the transaction carrying these mutations is committed to
// disk
ceph::bufferlist get_delta() final;
- void on_initial_write() final;
- void on_delta_write(paddr_t record_block_offset) final;
+ void logical_on_delta_write() final;
void apply_delta(const ceph::bufferlist &bl) final;
void sync() {