PERFORCE change 53056 for review

Peter Wemm peter at FreeBSD.org
Wed May 19 10:16:44 PDT 2004


http://perforce.freebsd.org/chv.cgi?CH=53056

Change 53056 by peter at peter_hammer on 2004/05/19 10:15:57

	Add a Debugger() call if we have busy buffers.  This seems to be the
	only way to catch it since things hang solid right after this.

Affected files ...

.. //depot/projects/hammer/sys/kern/kern_shutdown.c#12 edit

Differences ...

==== //depot/projects/hammer/sys/kern/kern_shutdown.c#12 (text+ko) ====

@@ -345,6 +345,9 @@
 			 * unmount filesystems (thus forcing an fsck on reboot).
 			 */
 			printf("giving up on %d buffers\n", nbusy);
+#ifdef DDB
+			Debugger("busy buffers");
+#endif
 			DELAY(5000000);	/* 5 seconds */
 		} else {
 			printf("done\n");


More information about the p4-projects mailing list