FreeBSD/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c
/*
 * Returns true if there is a pending sync task in any of the current
 * syncing txg, the current quiescing txg, or the current open txg.
 */
Returns true if there is a pending sync task in any of the current
syncing txg, the current quiescing txg, or the current open txg.
Returns true if there is a pending sync task in any of the current syncing txg the current quiescing txg or the current open txg .
boolean_t
spa_has_pending_synctask(spa_t *spa)
{
	return (!txg_all_lists_empty(&spa->spa_dsl_pool->dp_sync_tasks));
}
boolean_t spa_has_pending_synctask ( spa_t * spa ) { return ( ! txg_all_lists_empty ( & spa -> spa_dsl_pool -> dp_sync_tasks ) ) ; }
Returns true if there is a pending sync task in any of the current
 syncing txg, the current quiescing txg, or the current open txg.
Returns true if there is a pending sync task in any of the current syncing txg the current quiescing txg or the current open txg .