ahrens commented on this pull request.
> @@ -54,6 +55,12 @@ struct uberblock {
/* highest SPA_VERSION supported by software that wrote this txg */
uint64_t ub_software_version;
+
+ /* These fields are reserved for features that are under development: */
+ uint64_t ub_mmp_magic;
+ uint64_t ub_mmp_delay;
The uberblock is padded out with zeros to (at least) 512 bytes. So this change
doesn't actually change anything about the on-disk state (since the new fields
are not set, in this change). The fields continue to be zero, and we continue
to ignore them. This change is just for humans to know that they shouldn't use
these offsets for other purposes.
Also, the test suite opens older pools (that were generated with ancient
versions of ZFS and checked into the source tree), so we know it works.
Questions as to how the new fields will be used when their respective features
(MMP, checkpoint) are integrated are best directed to those reviews. But they
obviously need to deal with these fields being zero when dealing with older
pools. Side note: older software will ignore these fields, so backwards
compatibility with these features is managed with feature flags, not the
uberblock.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/425#discussion_r128682406
------------------------------------------
openzfs-developer
Archives:
https://openzfs.topicbox.com/groups/developer/discussions/Td128c23c12b31635-Ma596ac9ac485f72fda8f6239
Powered by Topicbox: https://topicbox.com