FreeBSD ZFS
The Zettabyte File System
Data Fields

lr_t Struct Reference

Format of log records. More...

#include <zil.h>

Data Fields

uint64_t lrc_txtype
 < common log record header
uint64_t lrc_reclen
 transaction record length
uint64_t lrc_txg
 dmu transaction group number
uint64_t lrc_seq
 see comment above

Detailed Description

Format of log records.

The fields are carefully defined to allow them to be aligned and sized the same on sparc & intel architectures. Each log record has a common structure at the beginning.

The log record on disk (lrc_seq) holds the sequence number of all log records which is used to ensure we don't replay the same record.

Definition at line 192 of file zil.h.


Field Documentation

uint64_t lr_t::lrc_reclen

transaction record length

Definition at line 194 of file zil.h.

uint64_t lr_t::lrc_seq

see comment above

Definition at line 196 of file zil.h.

uint64_t lr_t::lrc_txg

dmu transaction group number

Definition at line 195 of file zil.h.

uint64_t lr_t::lrc_txtype

< common log record header

intent log transaction type

Definition at line 193 of file zil.h.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines