<< ", block_size=" << header.block_size
<< ", size=" << header.size
<< ", journal_tail=" << header.journal_tail
- << ", applied_to="<< header.applied_to
<< ", "<< device_id_printer_t{header.device_id}
<< ")";
}
head.block_size = config.block_size;
head.size = config.total_size - device->get_block_size();
head.journal_tail = device->get_block_size();
- head.applied_to = head.journal_tail;
head.device_id = config.device_id;
encode(head, bl);
header = head;
// start offset of CircularBoundedJournal in the device
rbm_abs_addr journal_tail = 0;
- // address to represent where last appllied record is written
- rbm_abs_addr applied_to = 0;
device_id_t device_id;
denc(v.journal_tail, p);
- denc(v.applied_to, p);
-
denc(v.device_id, p);
DENC_FINISH(p);