Searched refs:spa_minref (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa_impl.h235 int spa_minref; /* num refs when first opened */ member in struct:spa
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa_misc.c84 * some references in the DMU. Internally we check against spa_minref, but
787 ASSERT(refcount_count(&spa->spa_refcount) >= spa->spa_minref ||
799 ASSERT(refcount_count(&spa->spa_refcount) > spa->spa_minref ||
809 * spa_minref (e.g. dataset or directory released during pool export),
820 * spa_namespace_lock held. We really compare against spa_minref, which is the
828 return (refcount_count(&spa->spa_refcount) == spa->spa_minref);
H A Dspa.c2173 spa->spa_minref = refcount_count(&spa->spa_refcount);
3830 spa->spa_minref = refcount_count(&spa->spa_refcount);
6436 /* Keeping the origin open increases spa_minref */
6437 spa->spa_minref += 3;
6449 /* Keeping the freedir open increases spa_minref */
6450 spa->spa_minref += 3;

Completed in 151 milliseconds