From owner-cvs-src@FreeBSD.ORG Sat May 22 13:29:00 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DC3816A4CE; Sat, 22 May 2004 13:29:00 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66D3B43D53; Sat, 22 May 2004 13:29:00 -0700 (PDT) (envelope-from kensmith@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i4MKSrCn016274; Sat, 22 May 2004 13:28:53 -0700 (PDT) (envelope-from kensmith@repoman.freebsd.org) Received: (from kensmith@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i4MKSrGk016273; Sat, 22 May 2004 13:28:53 -0700 (PDT) (envelope-from kensmith) Message-Id: <200405222028.i4MKSrGk016273@repoman.freebsd.org> From: Ken Smith Date: Sat, 22 May 2004 13:28:53 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_4 Subject: cvs commit: src/sys/vm vm_map.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 May 2004 20:29:00 -0000 kensmith 2004/05/22 13:28:53 PDT FreeBSD src repository Modified files: (Branch: RELENG_4) sys/vm vm_map.c Log: It was found the previous commit causes a severe change in behavior of msync( ...,MS_INVALIDATE) on NFS-mounted partitions. Given this is a stable branch and the issue being addressed to begin with may not concern some users we are providing a way to get the old behavior if desired. The default will be to have the new behavior which is to only flush pages from memory if they are not dirty. By changing the sysctl vm.old_msync users can get the old behavior back. Because of the unified VM/buffer-cache system what to do as a proper fix to this issue is proving to be quite difficult. It is still being worked on but we need this stop-gap solution for now. Revision Changes Path 1.187.2.29 +7 -1 src/sys/vm/vm_map.c