changeset 3878:c25138e290d8

6536526 waiting for read from read completion taskq caused zio pipeline stall
author ahrens
date Wed, 21 Mar 2007 17:06:06 -0700
parents e3d0fb5a4f90
children f09f624a7372
files usr/src/uts/common/fs/zfs/metaslab.c
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/common/fs/zfs/metaslab.c	Wed Mar 21 16:55:41 2007 -0700
+++ b/usr/src/uts/common/fs/zfs/metaslab.c	Wed Mar 21 17:06:06 2007 -0700
@@ -592,7 +592,6 @@
 	 * future allocations have synced.  (If we unloaded it now and then
 	 * loaded a moment later, the map wouldn't reflect those allocations.)
 	 */
-#ifndef ZFS_DEBUG
 	if (sm->sm_loaded && (msp->ms_weight & METASLAB_ACTIVE_MASK) == 0) {
 		int evictable = 1;
 
@@ -603,7 +602,6 @@
 		if (evictable)
 			space_map_unload(sm);
 	}
-#endif
 
 	metaslab_group_sort(mg, msp, metaslab_weight(msp));
 
@@ -886,11 +884,6 @@
 		 * verify that this region is actually allocated in
 		 * either a ms_allocmap or the ms_map
 		 */
-#ifdef ZFS_DEBUG
-		(void) space_map_load(&msp->ms_map, &metaslab_ff_ops,
-		    SM_FREE, &msp->ms_smo,
-		    msp->ms_group->mg_vd->vdev_spa->spa_meta_objset);
-#endif
 		if (msp->ms_map.sm_loaded) {
 			boolean_t allocd = B_FALSE;
 			int i;