FreeBSD/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_errlog.c
/*
 * Called when a scrub completes.  This simply set a bit which tells which AVL
 * tree to add new errors.  spa_errlog_sync() is responsible for actually
 * syncing the changes to the underlying objects.
 */
Called when a scrub completes.  This simply set a bit which tells which AVL
tree to add new errors.  spa_errlog_sync() is responsible for actually
syncing the changes to the underlying objects.
Called when a scrub completes . This simply set a bit which tells which AVL tree to add new errors . spa_errlog_sync () is responsible for actually syncing the changes to the underlying objects .
void
spa_errlog_rotate(spa_t *spa)
{
	mutex_enter(&spa->spa_errlist_lock);
	spa->spa_scrub_finished = B_TRUE;
	mutex_exit(&spa->spa_errlist_lock);
}
void spa_errlog_rotate ( spa_t * spa ) { mutex_enter ( & spa -> spa_errlist_lock ) ; spa -> spa_scrub_finished = B_TRUE ; mutex_exit ( & spa -> spa_errlist_lock ) ; }
Called when a scrub completes.
Called when a scrub completes .