Tell loader to ignore newer features enabled on the root pool.

There are many new features in ZoF. Most, if not all, do not effect read only usage.
Encryption in particular is enabled at the pool level but used at the dataset level.
The loader obviously will not be able to boot if the boot dataset is encrypted, but
should not care if some other dataset in the root pool is encrypted.

Reviewed by:	allanjude
MFC after:	1 week
This commit is contained in:
Matt Macy 2019-06-19 21:10:13 +00:00
parent 8e0c373903
commit 6459a61ea7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349217

View File

@ -64,6 +64,12 @@ static const char *features_for_read[] = {
"org.illumos:skein",
"org.zfsonlinux:large_dnode",
"com.joyent:multi_vdev_crash_dump",
"com.delphix:spacemap_histogram",
"com.delphix:zpool_checkpoint",
"com.delphix:spacemap_v2",
"com.datto:encryption",
"org.zfsonlinux:allocation_classes",
"com.datto:resilver_defer",
NULL
};