aboutsummaryrefslogtreecommitdiff
path: root/include/zfs
diff options
context:
space:
mode:
authorWHR2024-05-01 00:28:32 +0800
committerTom Rini2024-05-13 16:51:13 -0600
commitcd85e0d443a40fe5e0814023e1c976127b761351 (patch)
treebcd8a71880a6c5b155e3e3f6fd4e03c1c3621013 /include/zfs
parent3a9f642ca946d6a5cda0ecc3f6805976d9d8e660 (diff)
zfs: recognize zpools formatted with features support
Currently no features are implemented, only the zpool version 5000 that indicating the features support, is recognized. Since it is possible for OpenZFS to create a pool with features support enabled, but without enabling any actual feature, this change enables U-Boot to read such pools. Signed-off-by: WHR <msl0000023508@gmail.com>
Diffstat (limited to 'include/zfs')
-rw-r--r--include/zfs/zfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/zfs/zfs.h b/include/zfs/zfs.h
index 17b93c10c81..72d87452ddf 100644
--- a/include/zfs/zfs.h
+++ b/include/zfs/zfs.h
@@ -15,6 +15,7 @@
* On-disk version number.
*/
#define SPA_VERSION 28ULL
+#define FEATURES_SUPPORTED_SPA_VERSION 5000ULL
/*
* The following are configuration names used in the nvlist describing a pool's