summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllan Jude <[email protected]>2018-06-14 12:47:26 -0400
committerBrian Behlendorf <[email protected]>2018-06-14 09:47:26 -0700
commit29445fe3a03d58d5aa725bd6c8964df8c8081385 (patch)
treec478c89ef191734a8753aa057d0a8bc027595bff
parent7e0594a3dad8fc0c5cb54494eb7c4466efe854e2 (diff)
Reserve DMU_BACKUP_FEATURE for ZSTD
Reserve bit 25 for the ZSTD compression feature from FreeBSD. Reviewed-by: George Melikov <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Matthew Ahrens <[email protected]> Signed-off-by: Allan Jude <[email protected]> Closes #7626
-rw-r--r--include/sys/zfs_ioctl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/zfs_ioctl.h b/include/sys/zfs_ioctl.h
index 06e3cb24a..317622f7c 100644
--- a/include/sys/zfs_ioctl.h
+++ b/include/sys/zfs_ioctl.h
@@ -105,6 +105,7 @@ typedef enum drr_headertype {
#define DMU_BACKUP_FEATURE_COMPRESSED (1 << 22)
#define DMU_BACKUP_FEATURE_LARGE_DNODE (1 << 23)
#define DMU_BACKUP_FEATURE_RAW (1 << 24)
+/* flag #25 is reserved for the ZSTD compression feature */
/*
* Mask of all supported backup features