dsched, dsched_fq - Major cleanup
authorAlex Hornung <ahornung@gmail.com>
Mon, 19 Apr 2010 18:24:34 +0000 (18:24 +0000)
committerAlex Hornung <ahornung@gmail.com>
Mon, 19 Apr 2010 19:01:34 +0000 (19:01 +0000)
commit0160356ddcf4b0d7602d2861b9b4f07b82afa036
tree984228254c86f49b421dd024844dc2a5f00b66f7
parentf8abf63c2915f73cda605e7f5a04a6d2605f0733
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
sys/conf/files
sys/dsched/fq/dsched_fq.h
sys/dsched/fq/dsched_fq_core.c
sys/dsched/fq/dsched_fq_diskops.c
sys/dsched/fq/dsched_fq_procops.c
sys/kern/kern_dsched.c [moved from sys/kern/subr_dsched.c with 81% similarity]
sys/kern/subr_disk.c
sys/sys/disk.h
sys/sys/dsched.h
test/dsched_fq/fqstats.c