FreeBSD/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c
/*
 * Return whether this pool has slogs. No locking needed.
 * It's not a problem if the wrong answer is returned as it's only for
 * performance and not correctness
 */
Return whether this pool has slogs. No locking needed.
It's not a problem if the wrong answer is returned as it's only for
performance and not correctness
Return whether this pool has slogs . No locking needed . It ' s not a problem if the wrong answer is returned as it ' s only for performance and not correctness
boolean_t
spa_has_slogs(spa_t *spa)
{
	return (spa->spa_log_class->mc_rotor != NULL);
}
boolean_t spa_has_slogs ( spa_t * spa ) { return ( spa -> spa_log_class -> mc_rotor != NULL ) ; }
Return whether this pool has slogs.
Return whether this pool has slogs .