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

git: dsched_fq - correct disk busy% calculation


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 20 Apr 2010 15:32:29 -0700 (PDT)

commit 654a51ea6cb528b9b2bb7fe3731b71cd689fab94
Author: Alex Hornung <ahornung@gmail.com>
Date:   Tue Apr 20 22:31:12 2010 +0000

    dsched_fq - correct disk busy% calculation
    
    * Previously old_tv was static, causing problems when several disks had
      the fq policy enabled, as the start time of the interval was taken
      from some other disk.
    
    * Avoid this issue by keeping the information in diskctx, where it
      belongs.

Summary of changes:
 sys/dsched/fq/dsched_fq.h      |    1 +
 sys/dsched/fq/dsched_fq_core.c |   11 ++++++-----
 2 files changed, 7 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/654a51ea6cb528b9b2bb7fe3731b71cd689fab94


-- 
DragonFly BSD source repository



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