HomeFreeBSD

zfs: add missing checks for unsupported features

Description

zfs: add missing checks for unsupported features

After the merge of OpenZFS master-9312e0fd1 it has become possible to
import ZFS pools witn an active org.illumos:edonr feature on FreeBSD,
leading to a panic.

In addition, "zpool status" reported all pools without edonr as upgradable
and "zpool upgrade -v" lists edonr in the list of upgradable features.

This is an accepted but not yet included bugfix by upstream.

Obtained from: https://github.com/openzfs/zfs/pull/11653
Differential Revision: https://reviews.freebsd.org/D28935
Reported by: garga (on freebsd-current@)
Reviewed by: freqlabs

(cherry picked from commit c170aa9f37e4ce9338a0f26e3e983f7123ea8c1a)

Details

Provenance
mmAuthored on Feb 26 2021, 9:52 PM
Reviewer
freqlabs
Differential Revision
D28935: zfs: fix handling of unsupported features
Parents
rG16f5a4ea9109: Install links for zpool feature compat aliases
Branches
Unknown
Tags
Unknown