FreeBSD ZFS
The Zettabyte File System
Data Fields

tx_state Struct Reference

#include <txg_impl.h>

Collaboration diagram for tx_state:
Collaboration graph
[legend]

Data Fields

tx_cpu_ttx_cpu
 protects right to enter txg
kmutex_t tx_sync_lock
 protects tx_state_t
uint64_t tx_open_txg
 currently open txg id
uint64_t tx_quiesced_txg
 quiesced txg waiting for sync
uint64_t tx_syncing_txg
 currently syncing txg id
uint64_t tx_synced_txg
 last synced txg id
uint64_t tx_sync_txg_waiting
 txg we're waiting to sync
uint64_t tx_quiesce_txg_waiting
 txg we're waiting to open
kcondvar_t tx_sync_more_cv
kcondvar_t tx_sync_done_cv
kcondvar_t tx_quiesce_more_cv
kcondvar_t tx_quiesce_done_cv
kcondvar_t tx_timeout_cv
kcondvar_t tx_exit_cv
 wait for all threads to exit
uint8_t tx_threads
 number of threads
uint8_t tx_exiting
 set when we're exiting
kthread_t * tx_sync_thread
kthread_t * tx_quiesce_thread
taskq_t * tx_commit_cb_taskq
 commit callback taskq

Detailed Description

Definition at line 44 of file txg_impl.h.


Field Documentation

commit callback taskq

Definition at line 68 of file txg_impl.h.

protects right to enter txg

Definition at line 45 of file txg_impl.h.

wait for all threads to exit

Definition at line 60 of file txg_impl.h.

set when we're exiting

Definition at line 63 of file txg_impl.h.

currently open txg id

Definition at line 47 of file txg_impl.h.

Definition at line 58 of file txg_impl.h.

Definition at line 57 of file txg_impl.h.

Definition at line 66 of file txg_impl.h.

txg we're waiting to open

Definition at line 53 of file txg_impl.h.

quiesced txg waiting for sync

Definition at line 48 of file txg_impl.h.

Definition at line 56 of file txg_impl.h.

protects tx_state_t

Definition at line 46 of file txg_impl.h.

Definition at line 55 of file txg_impl.h.

Definition at line 65 of file txg_impl.h.

txg we're waiting to sync

Definition at line 52 of file txg_impl.h.

last synced txg id

Definition at line 50 of file txg_impl.h.

currently syncing txg id

Definition at line 49 of file txg_impl.h.

number of threads

Definition at line 62 of file txg_impl.h.

Definition at line 59 of file txg_impl.h.


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