FreeBSD ZFS
The Zettabyte File System
Data Fields

zvol_state Struct Reference

The in-core state of each volume. More...

Collaboration diagram for zvol_state:
Collaboration graph
[legend]

Data Fields

char zv_name [MAXPATHLEN]
 pool/dd name
uint64_t zv_volsize
 amount of space we advertise
uint64_t zv_volblocksize
 volume block size
struct g_provider * zv_provider
 GEOM provider.
uint8_t zv_min_bs
 minimum addressable block shift
uint8_t zv_flags
 readonly, dumpified, etc.
objset_tzv_objset
 objset handle
uint32_t zv_total_opens
 total open count
zilog_tzv_zilog
 ZIL handle.
list_t zv_extents
 List of extents for dump.
znode_t zv_znode
 for range locking
dmu_buf_tzv_dbuf
 bonus handle
int zv_state
struct bio_queue_head zv_queue
struct mtx zv_queue_mtx
 zv_queue mutex

Detailed Description

The in-core state of each volume.

Definition at line 115 of file zvol.c.


Field Documentation

bonus handle

Definition at line 127 of file zvol.c.

List of extents for dump.

Definition at line 125 of file zvol.c.

readonly, dumpified, etc.

Definition at line 121 of file zvol.c.

minimum addressable block shift

Definition at line 120 of file zvol.c.

char zvol_state::zv_name[MAXPATHLEN]

pool/dd name

Definition at line 116 of file zvol.c.

objset handle

Definition at line 122 of file zvol.c.

struct g_provider* zvol_state::zv_provider

GEOM provider.

Definition at line 119 of file zvol.c.

struct bio_queue_head zvol_state::zv_queue

Definition at line 129 of file zvol.c.

zv_queue mutex

Definition at line 130 of file zvol.c.

Definition at line 128 of file zvol.c.

total open count

Definition at line 123 of file zvol.c.

volume block size

Definition at line 118 of file zvol.c.

amount of space we advertise

Definition at line 117 of file zvol.c.

ZIL handle.

Definition at line 124 of file zvol.c.

for range locking

Definition at line 126 of file zvol.c.


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