Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 May 2004 10:16:24 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 53056 for review
Message-ID:  <200405191716.i4JHGOiS013195@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=53056

Change 53056 by peter@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");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405191716.i4JHGOiS013195>