aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/openzfs/include/zfeature_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/contrib/openzfs/include/zfeature_common.h')
-rw-r--r--sys/contrib/openzfs/include/zfeature_common.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/sys/contrib/openzfs/include/zfeature_common.h b/sys/contrib/openzfs/include/zfeature_common.h
index 85537c1ae96e..56382ca85b55 100644
--- a/sys/contrib/openzfs/include/zfeature_common.h
+++ b/sys/contrib/openzfs/include/zfeature_common.h
@@ -87,6 +87,9 @@ typedef enum spa_feature {
SPA_FEATURE_FAST_DEDUP,
SPA_FEATURE_LONGNAME,
SPA_FEATURE_LARGE_MICROZAP,
+ SPA_FEATURE_DYNAMIC_GANG_HEADER,
+ SPA_FEATURE_BLOCK_CLONING_ENDIAN,
+ SPA_FEATURE_PHYSICAL_REWRITE,
SPA_FEATURES
} spa_feature_t;
@@ -103,7 +106,15 @@ typedef enum zfeature_flags {
/* Activate this feature at the same time it is enabled. */
ZFEATURE_FLAG_ACTIVATE_ON_ENABLE = (1 << 2),
/* Each dataset has a field set if it has ever used this feature. */
- ZFEATURE_FLAG_PER_DATASET = (1 << 3)
+ ZFEATURE_FLAG_PER_DATASET = (1 << 3),
+ /*
+ * This feature isn't enabled by zpool upgrade; it must be explicitly
+ * listed to be enabled. It will also be applied if listed in an
+ * explicitly provided compatibility list. This flag can be removed
+ * from a given feature once support is sufficiently widespread, or
+ * worries about backwards compatibility are no longer relevant.
+ */
+ ZFEATURE_FLAG_NO_UPGRADE = (1 << 4)
} zfeature_flags_t;
typedef enum zfeature_type {