spa_feature_is_active
if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP))
if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP))
if (spa_feature_is_active(spa, SPA_FEATURE_ASYNC_DESTROY)) {
if (!spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT))
if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP))
if (spa_feature_is_active(spa,
spa_feature_is_active(spa, SPA_FEATURE_SPACEMAP_HISTOGRAM)) {
if (spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) {
if (spa_feature_is_active(spa, SPA_FEATURE_ENABLED_TXG)) {
if (!spa_feature_is_active(spa, SPA_FEATURE_EMPTY_BPOBJ)) {
if (!spa_feature_is_active(dmu_objset_spa(os),
ASSERT(spa_feature_is_active(dmu_objset_spa(db->db_objset),
ASSERT(spa_feature_is_active(spa, SPA_FEATURE_DEVICE_REMOVAL));
ASSERT(spa_feature_is_active(spa, SPA_FEATURE_DEVICE_REMOVAL));
if (!spa_feature_is_active(spa, SPA_FEATURE_DEVICE_REMOVAL))
spa_feature_is_active(dp->dp_spa, SPA_FEATURE_EMBEDDED_DATA)) {
spa_feature_is_active(dp->dp_spa, SPA_FEATURE_LZ4_COMPRESS)) {
if (spa_feature_is_active(spa, SPA_FEATURE_HOLE_BIRTH)) {
if (spa_feature_is_active(dn->dn_objset->os_spa,
ASSERT(spa_feature_is_active(spa, SPA_FEATURE_ENCRYPTION));
if (spa_feature_is_active(dp->dp_spa, SPA_FEATURE_FS_SS_LIMIT)) {
ASSERT(spa_feature_is_active(spa, SPA_FEATURE_DEVICE_REMOVAL));
if (!spa_feature_is_active(dp->dp_spa,
if (spa_feature_is_active(dp->dp_spa,
if (spa_feature_is_active(dp->dp_spa,
ASSERT(spa_feature_is_active(dp->dp_spa, SPA_FEATURE_FS_SS_LIMIT));
if (spa_feature_is_active(dp->dp_spa, SPA_FEATURE_FS_SS_LIMIT) &&
if (!spa_feature_is_active(spa, SPA_FEATURE_FS_SS_LIMIT)) {
if (spa_feature_is_active(dp->dp_spa, SPA_FEATURE_OBSOLETE_COUNTS)) {
if (spa_feature_is_active(dp->dp_spa, SPA_FEATURE_ASYNC_DESTROY)) {
if (spa_feature_is_active(dp->dp_spa, SPA_FEATURE_EMPTY_BPOBJ)) {
ASSERT(spa_feature_is_active(dp->dp_spa, SPA_FEATURE_DEVICE_REMOVAL));
if (err == 0 && spa_feature_is_active(spa, SPA_FEATURE_ASYNC_DESTROY)) {
ASSERT(!spa_feature_is_active(spa,
ASSERT(spa_feature_is_active(dp->dp_spa,
!spa_feature_is_active(dp->dp_spa, SPA_FEATURE_RESILVER_DEFER))
scn->scn_async_destroying = spa_feature_is_active(dp->dp_spa,
!spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) {
ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP));
if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP))
ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP));
spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) {
ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP));
ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP));
if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP))
if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP))
if (spa_feature_is_active(spa, SPA_FEATURE_ENABLED_TXG)) {
if (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) {
if (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) {
if (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) {
boolean_t lz4_ac = spa_feature_is_active(spa,
if (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) {
spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) {
if (!spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT))
ASSERT(spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT));
if (!spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT))
if (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT))
if (!spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT))
if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) {
ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP));
ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP));
if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP))
ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP));
spa_feature_is_active(spa, SPA_FEATURE_DEVICE_REMOVAL));
if (spa_feature_is_active(spa, SPA_FEATURE_SPACEMAP_V2) &&
extern boolean_t spa_feature_is_active(struct spa *, spa_feature_t);
ASSERT(spa_feature_is_active(vd->vdev_spa,
if (spa_feature_is_active(vd->vdev_spa, SPA_FEATURE_SPACEMAP_V2))
spa_feature_is_active(spa, SPA_FEATURE_RESILVER_DEFER)) {
ASSERT(spa_feature_is_active(spa, SPA_FEATURE_OBSOLETE_COUNTS));
ASSERT(spa_feature_is_active(vim->vim_objset->os_spa,
if (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) {
!spa_feature_is_active(spa, SPA_FEATURE_ENCRYPTION) &&
if (!spa_feature_is_active(spa, *featurep))
!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP))) {
ASSERT(spa_feature_is_active(spa,
spa_feature_is_active(spa, SPA_FEATURE_HOLE_BIRTH)) {
ASSERT(spa_feature_is_active(spa, SPA_FEATURE_ENCRYPTION));
if (spa_feature_is_active(spa, SPA_FEATURE_LZ4_COMPRESS))
if (spa_feature_is_active(spa, SPA_FEATURE_MULTI_VDEV_CRASH_DUMP))
checksum = spa_feature_is_active(spa,