dschedctl - Change arguments, clean up
authorAlex Hornung <ahornung@gmail.com>
Wed, 21 Apr 2010 07:22:01 +0000 (07:22 +0000)
committerAlex Hornung <ahornung@gmail.com>
Wed, 21 Apr 2010 07:22:01 +0000 (07:22 +0000)
commit0e03113ff0765c2a20234424c46deb0c031e94ef
tree570960c651b6222be4e3be94fabbf8ead0cd15a3
parent654a51ea6cb528b9b2bb7fe3731b71cd689fab94
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.
usr.sbin/dschedctl/dschedctl.c