From 3e1470776bf574e138472f579900e2002afc1dfd Mon Sep 17 00:00:00 2001 From: Matt Macy Date: Tue, 25 Aug 2020 23:26:52 +0000 Subject: [PATCH] ZFS: whitelist zstd and encryption in the loader Please note that neither zstd nor encryption is supported by the loader at this instant. This change makes it safe to use those features in one's root pool, but not in one's root dataset. --- stand/libsa/zfs/zfsimpl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stand/libsa/zfs/zfsimpl.c b/stand/libsa/zfs/zfsimpl.c index 152c0459c2b..39a98b557ae 100644 --- a/stand/libsa/zfs/zfsimpl.c +++ b/stand/libsa/zfs/zfsimpl.c @@ -127,6 +127,8 @@ static const char *features_for_read[] = { "com.delphix:device_removal", "com.delphix:obsolete_counts", "com.intel:allocation_classes", + "org.freebsd:zstd_compress", + "com.datto:encryption", NULL };