FreeBSD ZFS
The Zettabyte File System
Data Structures | Defines | Typedefs

sys/zil_impl.h File Reference

#include <sys/zil.h>
#include <sys/dmu_objset.h>
Include dependency graph for zil_impl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  lwb
 Log write buffer. More...
struct  itxs
 Intent log transaction lists. More...
struct  itxg
struct  itx_async_node
 for async nodes we build up an AVL tree of lists of async itxs per file More...
struct  zil_vdev_node
 Vdev flushing: during a zil_commit(), we build up an AVL tree of the vdevs we've touched so we know which ones need a write cache flush at the end. More...
struct  zilog
 Stable storage intent log management structure. More...
struct  zil_bp_node

Defines

#define ZIL_PREV_BLKS   16
#define ZIL_MAX_LOG_DATA

Typedefs

typedef struct lwb lwb_t
 Log write buffer.
typedef struct itxs itxs_t
 Intent log transaction lists.
typedef struct itxg itxg_t
typedef struct itx_async_node itx_async_node_t
 for async nodes we build up an AVL tree of lists of async itxs per file
typedef struct zil_vdev_node zil_vdev_node_t
 Vdev flushing: during a zil_commit(), we build up an AVL tree of the vdevs we've touched so we know which ones need a write cache flush at the end.
typedef struct zil_bp_node zil_bp_node_t

Define Documentation

#define ZIL_MAX_LOG_DATA
Value:
(SPA_MAXBLOCKSIZE - sizeof (zil_chain_t) - \
    sizeof (lr_write_t))

Definition at line 142 of file zil_impl.h.

#define ZIL_PREV_BLKS   16

Definition at line 84 of file zil_impl.h.


Typedef Documentation

for async nodes we build up an AVL tree of lists of async itxs per file

typedef struct itxg itxg_t
typedef struct itxs itxs_t

Intent log transaction lists.

typedef struct lwb lwb_t

Log write buffer.

typedef struct zil_bp_node zil_bp_node_t

Vdev flushing: during a zil_commit(), we build up an AVL tree of the vdevs we've touched so we know which ones need a write cache flush at the end.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines