Whamcloud - gitweb
b=19557 Add cond_resched calls to avoid hogging the cpu
[fs/lustre-release.git] / lustre / obdclass / genops.c
index 3ea2c47..853dd86 100644 (file)
@@ -1485,6 +1485,7 @@ void obd_zombie_impexp_cull(void)
                 if (export != NULL)
                         class_export_destroy(export);
 
+                cfs_cond_resched();
         } while (import != NULL || export != NULL);
         EXIT;
 }