From owner-cvs-src@FreeBSD.ORG Fri Jul 25 19:21:50 2003 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 AD05337B401; Fri, 25 Jul 2003 19:21:50 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25B0E43FE0; Fri, 25 Jul 2003 19:21:50 -0700 (PDT) (envelope-from tjr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h6Q2Ln0U087023; Fri, 25 Jul 2003 19:21:49 -0700 (PDT) (envelope-from tjr@repoman.freebsd.org) Received: (from tjr@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h6Q2LnJn087022; Fri, 25 Jul 2003 19:21:49 -0700 (PDT) Message-Id: <200307260221.h6Q2LnJn087022@repoman.freebsd.org> From: "Tim J. Robbins" Date: Fri, 25 Jul 2003 19:21:49 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/fs/ntfs ntfs_subr.c ntfs_vfsops.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, 26 Jul 2003 02:21:51 -0000 tjr 2003/07/25 19:21:49 PDT FreeBSD src repository Modified files: sys/fs/ntfs ntfs_subr.c ntfs_vfsops.c Log: Revise and improve ntfs_subr.c 1.30: read only a single cluster at a time in ntfs_writentvattr_plain and ntfs_readntvattr_plain, and purge the boot block from the buffer cache if isn't exactly one cluster long. These two changes work around the same buffer cache bug that ntfs_subr.c 1.30 tried to, but in a different way. This may decrease throughput by reading smaller amounts of data from the disk at a time, but may increase it by avoiding bogus writes of clean buffers. Problem (re)reported by Karel J. Bosschaart on -current. Revision Changes Path 1.31 +20 -17 src/sys/fs/ntfs/ntfs_subr.c 1.55 +8 -0 src/sys/fs/ntfs/ntfs_vfsops.c