From e872ea16f260fc62a98a46ed270a28f3590916c3 Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Wed, 24 Aug 2022 17:04:19 +0000 Subject: [PATCH] DMU_BACKUP_FEATURE: indicate that bit 28 and 29 are reserved Bit 28 is used by an internal Nutanix feature which might be upstreamed in the future. Bit 29 is the last unused bit. It is reserved to indicate a to-be-designed extension to the stream format which will accomodate more feature flags. Reviewed-by: Tino Reichardt Reviewed-by: Brian Behlendorf Signed-off-by: Christian Schwarz Issue #13795 Closes #13796 --- include/sys/zfs_ioctl.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/sys/zfs_ioctl.h b/include/sys/zfs_ioctl.h index c8a02aa66..91439d4b7 100644 --- a/include/sys/zfs_ioctl.h +++ b/include/sys/zfs_ioctl.h @@ -124,6 +124,13 @@ typedef enum drr_headertype { * default use of "zfs send" won't encounter the bug mentioned above. */ #define DMU_BACKUP_FEATURE_SWITCH_TO_LARGE_BLOCKS (1 << 27) +/* flag #28 is reserved for a Nutanix feature */ +/* + * flag #29 is the last unused bit. It is reserved to indicate a to-be-designed + * extension to the stream format which will accomodate more feature flags. + * If you need to add another feature flag, please reach out to the OpenZFS + * community, e.g., on GitHub or Slack. + */ /* * Mask of all supported backup features