git: kernel - Fix clustered read bug

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Mar 19 17:12:22 PDT 2012


commit 616dd1e975d76733afe06d1739b0cdefcafff635
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Mar 19 17:11:09 2012 -0700

    kernel - Fix clustered read bug
    
    * cluster_read() was improperly reducing the 'maxra' variable when
      handling the read-ahead mark, creating a degenerate situation which
      would cause only the first few burst reads from a file to cluster,
      and the remainder to read-ahead but not cluster.

Summary of changes:
 sys/kern/vfs_cluster.c |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/616dd1e975d76733afe06d1739b0cdefcafff635


-- 
DragonFly BSD source repository





More information about the Commits mailing list