From owner-svn-src-user@FreeBSD.ORG Sun Oct 25 00:51:16 2009 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50D30106566C; Sun, 25 Oct 2009 00:51:16 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 406788FC0C; Sun, 25 Oct 2009 00:51:16 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n9P0pGiW021387; Sun, 25 Oct 2009 00:51:16 GMT (envelope-from kmacy@svn.freebsd.org) Received: (from kmacy@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n9P0pGYA021384; Sun, 25 Oct 2009 00:51:16 GMT (envelope-from kmacy@svn.freebsd.org) Message-Id: <200910250051.n9P0pGYA021384@svn.freebsd.org> From: Kip Macy Date: Sun, 25 Oct 2009 00:51:16 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r198459 - user/kmacy/releng_8_fcs_buf/sys/sys X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Oct 2009 00:51:16 -0000 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)