git: dschedctl - Change arguments, clean up

Alex Hornung alexh at crater.dragonflybsd.org
Wed Apr 21 00:26:30 PDT 2010


commit 0e03113ff0765c2a20234424c46deb0c031e94ef
Author: Alex Hornung <ahornung at gmail.com>
Date:   Wed Apr 21 07:22:01 2010 +0000

    dschedctl - Change arguments, clean up
    
    * Remove the '-d' argument and instead allow an extra argument to '-l'
      and '-s'.
    
    * Allow for a change of policy on all disks by not specifying an extra
      argument after '-s policy'.
    
    * Introduce two FOREACH macros to simplify the code.
    
    * Add helper function dsched_set_disk_policy().
    
    * Add verbose mode.

Summary of changes:
 usr.sbin/dschedctl/dschedctl.c |   90 +++++++++++++++++++++++++---------------
 1 files changed, 57 insertions(+), 33 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0e03113ff0765c2a20234424c46deb0c031e94ef


-- 
DragonFly BSD source repository





More information about the Commits mailing list