From owner-cvs-all@FreeBSD.ORG Tue Aug 16 15:09:45 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4561C16A41F; Tue, 16 Aug 2005 15:09:45 +0000 (GMT) (envelope-from sobomax@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 165FB43D45; Tue, 16 Aug 2005 15:09:45 +0000 (GMT) (envelope-from sobomax@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j7GF9i58096545; Tue, 16 Aug 2005 15:09:44 GMT (envelope-from sobomax@repoman.freebsd.org) Received: (from sobomax@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j7GF9ia5096544; Tue, 16 Aug 2005 15:09:44 GMT (envelope-from sobomax) Message-Id: <200508161509.j7GF9ia5096544@repoman.freebsd.org> From: Maxim Sobolev Date: Tue, 16 Aug 2005 15:09:44 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Cc: Subject: cvs commit: src/sys/kern vfs_cluster.c src/sys/sys buf.h src/sys/vm vm_pager.c vnode_pager.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2005 15:09:45 -0000 sobomax 2005-08-16 15:09:44 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/kern vfs_cluster.c sys/sys buf.h sys/vm vm_pager.c vnode_pager.c Log: MFC: Do not use vm_pager_init() to initialize vnode_pbuf_freecnt variable. vm_pager_init() is run before required nswbuf variable has been set to correct value. This caused system to run with single pbuf available for vnode_pager. Handle both cluster_pbuf_freecnt and vnode_pbuf_freecnt variableis in the same way. Tested by: pre-release.portaone.com Revision Changes Path 1.150.2.2 +0 -6 src/sys/kern/vfs_cluster.c 1.167.2.3 +2 -0 src/sys/sys/buf.h 1.95.2.3 +1 -0 src/sys/vm/vm_pager.c 1.196.2.8 +0 -9 src/sys/vm/vnode_pager.c