FreeBSD ZFS
The Zettabyte File System
Data Fields

drr_begin Struct Reference

zfs ioctl command structure More...

#include <zfs_ioctl.h>

Data Fields

uint64_t drr_magic
uint64_t drr_versioninfo
 formerly named drr_version
uint64_t drr_creation_time
dmu_objset_type_t drr_type
uint32_t drr_flags
uint64_t drr_toguid
uint64_t drr_fromguid
char drr_toname [MAXNAMELEN]

Detailed Description

zfs ioctl command structure

Definition at line 101 of file zfs_ioctl.h.


Field Documentation

Definition at line 124 of file zfs_ioctl.h.

Definition at line 126 of file zfs_ioctl.h.

Definition at line 128 of file zfs_ioctl.h.

Definition at line 102 of file zfs_ioctl.h.

Definition at line 127 of file zfs_ioctl.h.

char drr_begin::drr_toname[MAXNAMELEN]

Definition at line 129 of file zfs_ioctl.h.

Definition at line 125 of file zfs_ioctl.h.

formerly named drr_version

The drr_versioninfo field of the dmu_replay_record has the following layout:

	    64      56      48      40      32      24      16      8       0
	    +-------+-------+-------+-------+-------+-------+-------+-------+
	    |               reserved        |        feature-flags      |C|S|
	    +-------+-------+-------+-------+-------+-------+-------+-------+
	 

The low order two bits indicate the header type: SUBSTREAM (0x1) or COMPOUNDSTREAM (0x2). Using two bits for this is historical: this field used to be a version number, where the two version types were 1 and 2. Using two bits for this allows earlier versions of the code to be able to recognize send streams that don't use any of the features indicated by feature flags.

Definition at line 123 of file zfs_ioctl.h.


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