git: dsched, dsched_fq - Major cleanup

看板DFBSD_commit作者時間16年前 (2010/04/20 03:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 0160356ddcf4b0d7602d2861b9b4f07b82afa036 Author: Alex Hornung <ahornung@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
文章代碼(AID): #1BpA-tXm (DFBSD_commit)