From owner-cvs-all Tue Sep 5 2:52:54 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1E96D37B423; Tue, 5 Sep 2000 02:52:51 -0700 (PDT) Received: (from msmith@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id CAA81554; Tue, 5 Sep 2000 02:52:51 -0700 (PDT) (envelope-from msmith@FreeBSD.org) Message-Id: <200009050952.CAA81554@freefall.freebsd.org> From: Mike Smith Date: Tue, 5 Sep 2000 02:52:51 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libstand close.c lseek.c open.c read.c stand.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG msmith 2000/09/05 02:52:50 PDT Modified files: lib/libstand close.c lseek.c open.c read.c stand.h Log: Implement readahead buffering for non-raw files. This drastically improves the efficiency of byte-by-byte read operations on filesystems not already supported by the block cache (especially NFS). This should be a welcome change for users booting via PXE, as the loader now reads its startup files almost instantly, instead of taking tens of seconds. Revision Changes Path 1.2 +26 -24 src/lib/libstand/close.c 1.2 +38 -27 src/lib/libstand/lseek.c 1.3 +9 -0 src/lib/libstand/open.c 1.2 +54 -21 src/lib/libstand/read.c 1.22 +6 -2 src/lib/libstand/stand.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message