|
FreeBSD ZFS
The Zettabyte File System
|
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 | |
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.
| uint64_t lr_t::lrc_reclen |
| uint64_t lr_t::lrc_seq |
| uint64_t lr_t::lrc_txg |
| uint64_t lr_t::lrc_txtype |
1.7.3