git: dsched, dsched_fq - Major cleanup

Alex Hornung alexh at crater.dragonflybsd.org
Mon Apr 19 12:02:55 PDT 2010


commit 0160356ddcf4b0d7602d2861b9b4f07b82afa036
Author: Alex Hornung <ahornung at gmail.com>
Date:   Mon Apr 19 18:24:34 2010 +0000

    dsched, dsched_fq - Major cleanup
    
    SHORT version: major cleanup and rename to useful names
    
    LONG version:
    
    dsched:
    * Unify dsched_ops with dsched_policy, remove fallout
    
    * Rename dsched_{create,destroy} -> dsched_disk_{create,destroy}_callback
    
    * Kill .head in dsched_policy
    
    * Kill dead code
    
    dsched_fq:
    * Rename fqp -> thread_io/tdio
    * Rename fqmp -> thread_ctx/tdctx
    * Rename dpriv -> disk_ctx/diskctx
    
    * Several related renames of functions (alloc/ref/unref).
    
    * Remove dead code
    
    * rename tdctx->s_* -> tdctx->interval_*
    
    * comment struct members
    
    * ... and some more changes I probably forgot
    
    Huge-Thanks-To: Aggelos Economopoulos

Summary of changes:
 sys/conf/files                            |    2 +-
 sys/dsched/fq/dsched_fq.h                 |  181 ++++++------
 sys/dsched/fq/dsched_fq_core.c            |  438 ++++++++++++++---------------
 sys/dsched/fq/dsched_fq_diskops.c         |  252 ++++++++---------
 sys/dsched/fq/dsched_fq_procops.c         |   76 +++---
 sys/kern/{subr_dsched.c => kern_dsched.c} |  170 +++++-------
 sys/kern/subr_disk.c                      |    3 +-
 sys/sys/disk.h                            |    2 +-
 sys/sys/dsched.h                          |   43 +--
 test/dsched_fq/fqstats.c                  |   17 +-
 10 files changed, 570 insertions(+), 614 deletions(-)
 rename sys/kern/{subr_dsched.c => kern_dsched.c} (81%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0160356ddcf4b0d7602d2861b9b4f07b82afa036


-- 
DragonFly BSD source repository





More information about the Commits mailing list