Subject: CVS commit: src/sys/fs/efs
To: None <source-changes@NetBSD.org>
From: Stephen M. Rumble <rumble@netbsd.org>
List: source-changes
Date: 07/04/2007 18:40:18
Module Name: src
Committed By: rumble
Date: Wed Jul 4 18:40:18 UTC 2007
Modified Files:
src/sys/fs/efs: efs_vnops.c
Log Message:
Fix a significant performance bug in efs_read:
When reading a file, we would erroneously iterate to the next extent
before having filled the entire uio request. This lead to unnecessary
extent iteration and excessive calls to efs_read.
Sequential read performance has doubled in the uncached case and
quadrupled when data is buffered.
To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 src/sys/fs/efs/efs_vnops.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.