FreeBSD ZFS
The Zettabyte File System
|
header for all bonus and spill buffers. More...
#include <sa_impl.h>
Data Fields | |
uint32_t | sa_magic |
uint16_t | sa_layout_info |
Encoded with hdrsize and layout number sa_hdr_phys -> sa_layout_info. | |
uint16_t | sa_lengths [1] |
optional sizes for variable length attrs |
header for all bonus and spill buffers.
The header has a fixed portion with a variable number of "lengths" depending on the number of variable sized attribues which are determined by the "layout number"
uint16_t sa_hdr_phys::sa_layout_info |
Encoded with hdrsize and layout number sa_hdr_phys -> sa_layout_info.
16 10 0 +--------+-------+ | hdrsz |layout | +--------+-------+
Bits 0-10 are the layout number Bits 11-16 are the size of the header. The hdrsize is the number * 8
For example.
uint16_t sa_hdr_phys::sa_lengths[1] |
uint32_t sa_hdr_phys::sa_magic |