# HG changeset patch # User ahrens # Date 1174521966 25200 # Node ID c25138e290d8e6cf62e87aef4587a71a54ad6f66 # Parent e3d0fb5a4f903155ac746f92f2e2f78164d91557 6536526 waiting for read from read completion taskq caused zio pipeline stall diff -r e3d0fb5a4f90 -r c25138e290d8 usr/src/uts/common/fs/zfs/metaslab.c --- 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;