FreeBSD ZFS
The Zettabyte File System
|
This is a deprecated data structure that only exists for dealing with file systems create prior to ZPL version 5. More...
#include <zfs_sa.h>
Data Fields | |
uint64_t | zp_atime [2] |
0 - last file access time | |
uint64_t | zp_mtime [2] |
16 - last file modification time | |
uint64_t | zp_ctime [2] |
32 - last file change time | |
uint64_t | zp_crtime [2] |
48 - creation time | |
uint64_t | zp_gen |
64 - generation (txg of creation) | |
uint64_t | zp_mode |
72 - file mode bits | |
uint64_t | zp_size |
80 - size of file | |
uint64_t | zp_parent |
88 - directory parent (`..') | |
uint64_t | zp_links |
96 - number of links to file | |
uint64_t | zp_xattr |
104 - DMU object for xattrs | |
uint64_t | zp_rdev |
112 - dev_t for VBLK & VCHR files | |
uint64_t | zp_flags |
120 - persistent flags | |
uint64_t | zp_uid |
128 - file owner | |
uint64_t | zp_gid |
136 - owning group | |
uint64_t | zp_zap |
144 - extra attributes | |
uint64_t | zp_pad [3] |
152 - future | |
zfs_acl_phys_t | zp_acl |
176 - 263 ACL |
This is a deprecated data structure that only exists for dealing with file systems create prior to ZPL version 5.
Data may pad out any remaining bytes in the znode buffer, eg:
|<---------------------- dnode_phys (512) ------------------------>| |<-- dnode (192) --->|<----------- "bonus" buffer (320) ---------->| |<---- znode (264) ---->|<---- data (56) ---->|
At present, we use this space for the following:
uint64_t znode_phys::zp_atime[2] |
uint64_t znode_phys::zp_crtime[2] |
uint64_t znode_phys::zp_ctime[2] |
uint64_t znode_phys::zp_flags |
uint64_t znode_phys::zp_gen |
uint64_t znode_phys::zp_gid |
uint64_t znode_phys::zp_links |
uint64_t znode_phys::zp_mode |
uint64_t znode_phys::zp_mtime[2] |
uint64_t znode_phys::zp_pad[3] |
uint64_t znode_phys::zp_parent |
uint64_t znode_phys::zp_rdev |
uint64_t znode_phys::zp_size |
uint64_t znode_phys::zp_uid |
uint64_t znode_phys::zp_xattr |
uint64_t znode_phys::zp_zap |