diff usr/src/uts/common/fs/zfs/spa.c @ 2329:e640bebc73b3

6446569 deferred list is hooked on flintstone vitamins
author ek110237
date Sun, 09 Jul 2006 19:26:56 -0700
parents 712a788c2dfd
children 694d5de97348
line wrap: on
line diff
--- a/usr/src/uts/common/fs/zfs/spa.c	Sun Jul 09 09:50:01 2006 -0700
+++ b/usr/src/uts/common/fs/zfs/spa.c	Sun Jul 09 19:26:56 2006 -0700
@@ -2780,7 +2780,8 @@
 	 * don't generate work on an otherwise idle system.
 	 */
 	if (!txg_list_empty(&dp->dp_dirty_datasets, txg) ||
-	    !txg_list_empty(&dp->dp_dirty_dirs, txg))
+	    !txg_list_empty(&dp->dp_dirty_dirs, txg) ||
+	    !txg_list_empty(&dp->dp_sync_tasks, txg))
 		spa_sync_deferred_frees(spa, txg);
 
 	/*