src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c
/*
 * Internal implementation for spa_vdev_enter().  Used when a vdev
 * operation requires multiple syncs (i.e. removing a device) while
 * keeping the spa_namespace_lock held.
 */
Internal implementation for spa_vdev_enter().  Used when a vdev
operation requires multiple syncs  while
keeping the spa_namespace_lock held.
Internal implementation for spa_vdev_enter () . Used when a vdev operation requires multiple syncs while keeping the spa_namespace_lock held .
uint64_t
spa_vdev_config_enter(spa_t *spa)
{
	ASSERT(MUTEX_HELD(&spa_namespace_lock));
	spa_config_enter(spa, SCL_ALL, spa, RW_WRITER);
	return (spa_last_synced_txg(spa) + 1);
}
uint64_t spa_vdev_config_enter ( spa_t * spa ) { ASSERT ( MUTEX_HELD ( & spa_namespace_lock ) ) ; spa_config_enter ( spa , SCL_ALL , spa , RW_WRITER ) ; return ( spa_last_synced_txg ( spa ) + 1 ) ; }
Internal implementation for spa_vdev_enter().
Internal implementation for spa_vdev_enter () .