FreeBSD ZFS
The Zettabyte File System
Data Structures | Data Fields

dbuf_dirty_record Struct Reference

The structure of dirty records (DR) mirror the dbufs they belong to. More...

#include <dbuf.h>

Collaboration diagram for dbuf_dirty_record:
Collaboration graph
[legend]

Data Structures

union  dirty_types

Data Fields

list_node_t dr_dirty_node
 link on our parents dirty list
uint64_t dr_txg
 transaction group this data will sync in
zio_tdr_zio
 zio of outstanding write IO
struct dmu_buf_impldr_dbuf
 pointer back to our dbuf
struct dbuf_dirty_recorddr_next
 pointer to next dirty record
struct dbuf_dirty_recorddr_parent
 pointer to parent dirty record
union
dbuf_dirty_record::dirty_types 
dt

Detailed Description

The structure of dirty records (DR) mirror the dbufs they belong to.

That is, a dnode, its indirect blocks, and its data (leaf) blocks all have their own DRs. Each can only have one for each in-flight TXG. Each can have a parent DR, which is associated with its parent dbuf. Indirects can have child DRs, each associated with its child dbufs. Finally, the leaf DRs contain the ARC buffer containing the data to be written.

Definition at line 106 of file dbuf.h.


Field Documentation

pointer back to our dbuf

Definition at line 117 of file dbuf.h.

link on our parents dirty list

Definition at line 108 of file dbuf.h.

pointer to next dirty record

Definition at line 120 of file dbuf.h.

pointer to parent dirty record

Definition at line 123 of file dbuf.h.

transaction group this data will sync in

Definition at line 111 of file dbuf.h.

zio of outstanding write IO

Definition at line 114 of file dbuf.h.


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