Project

General

Profile

Bug #5472 ยป zfs-zpool-cache.patch

Steven Hartland, 2014-12-23 09:57 AM

View differences:

usr/src/uts/common/fs/zfs/spa_config.c
536 536
	/*
537 537
	 * Update the global config cache to reflect the new mosconfig.
538 538
	 */
539
	if (!spa->spa_is_root)
540
		spa_config_sync(spa, B_FALSE, what != SPA_CONFIG_UPDATE_POOL);
539
	spa_config_sync(spa, B_FALSE, what != SPA_CONFIG_UPDATE_POOL);
541 540

  
542 541
	if (what == SPA_CONFIG_UPDATE_POOL)
543 542
		spa_config_update(spa, SPA_CONFIG_UPDATE_VDEVS);
    (1-1/1)