Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Oct 2009 00:51:16 +0000 (UTC)
From:      Kip Macy <kmacy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r198459 - user/kmacy/releng_8_fcs_buf/sys/sys
Message-ID:  <200910250051.n9P0pGYA021384@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kmacy
Date: Sun Oct 25 00:51:15 2009
New Revision: 198459
URL: http://svn.freebsd.org/changeset/base/198459

Log:
  - define GB_NODUMP excluding buffers from dump
  - increase MAXBSIZE to MAXPHYS

Modified:
  user/kmacy/releng_8_fcs_buf/sys/sys/buf.h
  user/kmacy/releng_8_fcs_buf/sys/sys/param.h

Modified: user/kmacy/releng_8_fcs_buf/sys/sys/buf.h
==============================================================================
--- user/kmacy/releng_8_fcs_buf/sys/sys/buf.h	Sun Oct 25 00:42:03 2009	(r198458)
+++ user/kmacy/releng_8_fcs_buf/sys/sys/buf.h	Sun Oct 25 00:51:15 2009	(r198459)
@@ -444,6 +444,7 @@ buf_countdeps(struct buf *bp, int i)
 #define	GB_LOCK_NOWAIT	0x0001		/* Fail if we block on a buf lock. */
 #define	GB_NOCREAT	0x0002		/* Don't create a buf if not found. */
 #define	GB_NOWAIT_BD	0x0004		/* Do not wait for bufdaemon */
+#define	GB_NODUMP	0x0008		/* exclude this buffer from core dump */
 
 #ifdef _KERNEL
 extern int	nbuf;			/* The number of buffer headers */

Modified: user/kmacy/releng_8_fcs_buf/sys/sys/param.h
==============================================================================
--- user/kmacy/releng_8_fcs_buf/sys/sys/param.h	Sun Oct 25 00:42:03 2009	(r198458)
+++ user/kmacy/releng_8_fcs_buf/sys/sys/param.h	Sun Oct 25 00:51:15 2009	(r198459)
@@ -221,7 +221,7 @@
  *		The default is 16384, roughly 2x the block size used by a
  *		normal UFS filesystem.
  */
-#define MAXBSIZE	65536	/* must be power of 2 */
+#define MAXBSIZE	MAXPHYS	/* must be power of 2 */
 #define BKVASIZE	16384	/* must be power of 2 */
 #define BKVAMASK	(BKVASIZE-1)
 



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