FreeBSD ZFS
The Zettabyte File System
Data Fields

zfsvfs Struct Reference

#include <zfs_vfsops.h>

Collaboration diagram for zfsvfs:
Collaboration graph
[legend]

Data Fields

vfs_t * z_vfs
 generic fs struct
zfsvfs_tz_parent
 parent fs
objset_tz_os
 objset reference
uint64_t z_root
 id of root znode
uint64_t z_unlinkedobj
 id of unlinked zapobj
uint64_t z_max_blksz
 maximum block size for files
uint64_t z_fuid_obj
 fuid table object number
uint64_t z_fuid_size
 fuid table size
avl_tree_t z_fuid_idx
 fuid tree keyed by index
avl_tree_t z_fuid_domain
 fuid tree keyed by domain
krwlock_t z_fuid_lock
 fuid lock
boolean_t z_fuid_loaded
 fuid tables are loaded
boolean_t z_fuid_dirty
 need to sync fuid table ?
struct zfs_fuid_infoz_fuid_replay
 fuid info for replay
zilog_tz_log
 intent log pointer
uint_t z_acl_mode
 acl chmod/mode behavior
uint_t z_acl_inherit
 acl inheritance behavior
zfs_case_t z_case
 case-sense
boolean_t z_utf8
 utf8-only
int z_norm
 normalization flags
boolean_t z_atime
 enable atimes mount option
boolean_t z_unmounted
 unmounted
rrwlock_t z_teardown_lock
krwlock_t z_teardown_inactive_lock
list_t z_all_znodes
 all vnodes in the fs
kmutex_t z_znodes_lock
 lock for z_all_znodes
vnode_t * z_ctldir
 .zfs directory pointer
boolean_t z_show_ctldir
 expose .zfs in the root dir
boolean_t z_issnap
 true if this is a snapshot
boolean_t z_vscan
 virus scan on/off
boolean_t z_use_fuids
 version allows fuids
boolean_t z_replay
 set during ZIL replay
boolean_t z_use_sa
 version allow system attributes
uint64_t z_version
 ZPL version.
uint64_t z_shares_dir
 hidden shares dir
kmutex_t z_lock
uint64_t z_userquota_obj
uint64_t z_groupquota_obj
uint64_t z_replay_eof
 New end of file - replay only.
sa_attr_type_tz_attr_table
 SA attr mapping->id.
kmutex_t z_hold_mtx [ZFS_OBJ_MTX_SZ]
 znode hold locks

Detailed Description

Definition at line 44 of file zfs_vfsops.h.


Field Documentation

acl inheritance behavior

Definition at line 61 of file zfs_vfsops.h.

acl chmod/mode behavior

Definition at line 60 of file zfs_vfsops.h.

all vnodes in the fs

Definition at line 69 of file zfs_vfsops.h.

boolean_t zfsvfs::z_atime

enable atimes mount option

Definition at line 65 of file zfs_vfsops.h.

SA attr mapping->id.

Definition at line 84 of file zfs_vfsops.h.

case-sense

Definition at line 62 of file zfs_vfsops.h.

vnode_t* zfsvfs::z_ctldir

.zfs directory pointer

Definition at line 71 of file zfs_vfsops.h.

need to sync fuid table ?

Definition at line 57 of file zfs_vfsops.h.

fuid tree keyed by domain

Definition at line 54 of file zfs_vfsops.h.

avl_tree_t zfsvfs::z_fuid_idx

fuid tree keyed by index

Definition at line 53 of file zfs_vfsops.h.

fuid tables are loaded

Definition at line 56 of file zfs_vfsops.h.

fuid lock

Definition at line 55 of file zfs_vfsops.h.

fuid table object number

Definition at line 51 of file zfs_vfsops.h.

fuid info for replay

Definition at line 58 of file zfs_vfsops.h.

fuid table size

Definition at line 52 of file zfs_vfsops.h.

Definition at line 82 of file zfs_vfsops.h.

kmutex_t zfsvfs::z_hold_mtx[ZFS_OBJ_MTX_SZ]

znode hold locks

Definition at line 86 of file zfs_vfsops.h.

boolean_t zfsvfs::z_issnap

true if this is a snapshot

Definition at line 73 of file zfs_vfsops.h.

kmutex_t zfsvfs::z_lock

Definition at line 80 of file zfs_vfsops.h.

intent log pointer

Definition at line 59 of file zfs_vfsops.h.

maximum block size for files

Definition at line 50 of file zfs_vfsops.h.

normalization flags

Definition at line 64 of file zfs_vfsops.h.

objset reference

Definition at line 47 of file zfs_vfsops.h.

parent fs

Definition at line 46 of file zfs_vfsops.h.

boolean_t zfsvfs::z_replay

set during ZIL replay

Definition at line 76 of file zfs_vfsops.h.

New end of file - replay only.

Definition at line 83 of file zfs_vfsops.h.

uint64_t zfsvfs::z_root

id of root znode

Definition at line 48 of file zfs_vfsops.h.

hidden shares dir

Definition at line 79 of file zfs_vfsops.h.

expose .zfs in the root dir

Definition at line 72 of file zfs_vfsops.h.

Definition at line 68 of file zfs_vfsops.h.

Definition at line 67 of file zfs_vfsops.h.

id of unlinked zapobj

Definition at line 49 of file zfs_vfsops.h.

unmounted

Definition at line 66 of file zfs_vfsops.h.

version allows fuids

Definition at line 75 of file zfs_vfsops.h.

boolean_t zfsvfs::z_use_sa

version allow system attributes

Definition at line 77 of file zfs_vfsops.h.

Definition at line 81 of file zfs_vfsops.h.

boolean_t zfsvfs::z_utf8

utf8-only

Definition at line 63 of file zfs_vfsops.h.

ZPL version.

Definition at line 78 of file zfs_vfsops.h.

vfs_t* zfsvfs::z_vfs

generic fs struct

Definition at line 45 of file zfs_vfsops.h.

boolean_t zfsvfs::z_vscan

virus scan on/off

Definition at line 74 of file zfs_vfsops.h.

lock for z_all_znodes

Definition at line 70 of file zfs_vfsops.h.


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