DragonFly BSD
DragonFly commits List (threaded) for 2012-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - Fix clustered read bug


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 19 Mar 2012 17:12:22 -0700 (PDT)

commit 616dd1e975d76733afe06d1739b0cdefcafff635
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]