Changeset View
Changeset View
Standalone View
Standalone View
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_ioctl.h
Show First 20 Lines • Show All 88 Lines • ▼ Show 20 Lines | |||||
#define DMU_BACKUP_FEATURE_EMBED_DATA (1 << 16) | #define DMU_BACKUP_FEATURE_EMBED_DATA (1 << 16) | ||||
#define DMU_BACKUP_FEATURE_LZ4 (1 << 17) | #define DMU_BACKUP_FEATURE_LZ4 (1 << 17) | ||||
/* flag #18 is reserved for a Delphix feature */ | /* flag #18 is reserved for a Delphix feature */ | ||||
#define DMU_BACKUP_FEATURE_LARGE_BLOCKS (1 << 19) | #define DMU_BACKUP_FEATURE_LARGE_BLOCKS (1 << 19) | ||||
#define DMU_BACKUP_FEATURE_RESUMING (1 << 20) | #define DMU_BACKUP_FEATURE_RESUMING (1 << 20) | ||||
/* flag #21 is reserved for a Delphix feature */ | /* flag #21 is reserved for a Delphix feature */ | ||||
#define DMU_BACKUP_FEATURE_COMPRESSED (1 << 22) | #define DMU_BACKUP_FEATURE_COMPRESSED (1 << 22) | ||||
/* flag #23 is reserved for the large dnode feature */ | /* flag #23 is reserved for the large dnode feature */ | ||||
/* flag #24 is reserved for the raw send feature */ | |||||
#define DMU_BACKUP_FEATURE_ZSTD (1 << 25) | |||||
/* | /* | ||||
* Mask of all supported backup features | * Mask of all supported backup features | ||||
*/ | */ | ||||
#define DMU_BACKUP_FEATURE_MASK (DMU_BACKUP_FEATURE_DEDUP | \ | #define DMU_BACKUP_FEATURE_MASK (DMU_BACKUP_FEATURE_DEDUP | \ | ||||
DMU_BACKUP_FEATURE_DEDUPPROPS | DMU_BACKUP_FEATURE_SA_SPILL | \ | DMU_BACKUP_FEATURE_DEDUPPROPS | DMU_BACKUP_FEATURE_SA_SPILL | \ | ||||
DMU_BACKUP_FEATURE_EMBED_DATA | DMU_BACKUP_FEATURE_LZ4 | \ | DMU_BACKUP_FEATURE_EMBED_DATA | DMU_BACKUP_FEATURE_LZ4 | \ | ||||
DMU_BACKUP_FEATURE_RESUMING | \ | DMU_BACKUP_FEATURE_RESUMING | \ | ||||
DMU_BACKUP_FEATURE_LARGE_BLOCKS | \ | DMU_BACKUP_FEATURE_LARGE_BLOCKS | \ | ||||
DMU_BACKUP_FEATURE_COMPRESSED) | DMU_BACKUP_FEATURE_COMPRESSED | DMU_BACKUP_FEATURE_ZSTD) | ||||
/* Are all features in the given flag word currently supported? */ | /* Are all features in the given flag word currently supported? */ | ||||
#define DMU_STREAM_SUPPORTED(x) (!((x) & ~DMU_BACKUP_FEATURE_MASK)) | #define DMU_STREAM_SUPPORTED(x) (!((x) & ~DMU_BACKUP_FEATURE_MASK)) | ||||
typedef enum dmu_send_resume_token_version { | typedef enum dmu_send_resume_token_version { | ||||
ZFS_SEND_RESUME_TOKEN_VERSION = 1 | ZFS_SEND_RESUME_TOKEN_VERSION = 1 | ||||
} dmu_send_resume_token_version_t; | } dmu_send_resume_token_version_t; | ||||
▲ Show 20 Lines • Show All 349 Lines • Show Last 20 Lines |