git: dsched_fq - correct disk busy% calculation

Alex Hornung alexh at crater.dragonflybsd.org
Tue Apr 20 15:33:34 PDT 2010


commit 654a51ea6cb528b9b2bb7fe3731b71cd689fab94
Author: Alex Hornung <ahornung at 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





More information about the Commits mailing list