From owner-cvs-all@FreeBSD.ORG Fri Dec 10 03:27:13 2004 Return-Path: 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 1D7B316A4CE; Fri, 10 Dec 2004 03:27:13 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9E4343D5A; Fri, 10 Dec 2004 03:27:12 +0000 (GMT) (envelope-from ps@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 iBA3RCd1010858; Fri, 10 Dec 2004 03:27:12 GMT (envelope-from ps@repoman.freebsd.org) Received: (from ps@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iBA3RC28010857; Fri, 10 Dec 2004 03:27:12 GMT (envelope-from ps) Message-Id: <200412100327.iBA3RC28010857@repoman.freebsd.org> From: Paul Saab Date: Fri, 10 Dec 2004 03:27:12 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/nfsclient nfs_bio.c nfs_vnops.c nfsnode.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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: Fri, 10 Dec 2004 03:27:13 -0000 ps 2004-12-10 03:27:12 UTC FreeBSD src repository Modified files: sys/nfsclient nfs_bio.c nfs_vnops.c nfsnode.h Log: Store a hint in the nfsnode to detect sequential access of the file. Kick off a readahead only when sequential access is detected. This eliminates wasteful readaheads in random file access. Submitted by: Mohan Srinivasan mohans at yahoo-inc dot com Obtained from: Yahoo! Revision Changes Path 1.144 +4 -1 src/sys/nfsclient/nfs_bio.c 1.239 +1 -0 src/sys/nfsclient/nfs_vnops.c 1.51 +1 -0 src/sys/nfsclient/nfsnode.h