git: dsched_fq - Refactor and clean; handle flushes

看板DFBSD_commit作者時間16年前 (2010/04/16 04:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 3ee00e04e58b9c411500d32ca897e49bfb913596 Author: Alex Hornung <ahornung@gmail.com> Date: Thu Apr 1 01:09:59 2010 +0000 dsched_fq - Refactor and clean; handle flushes * Factor out an fq_drain which will either cancel or dispatch all the bios we have currently in all our fqp queues. * Clean out old comments and code. * Deal with flushes by not queuing them but rather letting dsched handle them. By returning EINVAL, dsched_queue will dispatch the flush itself. Summary of changes: sys/dsched/fq/dsched_fq.h | 10 ++---- sys/dsched/fq/dsched_fq_core.c | 38 ++------------------ sys/dsched/fq/dsched_fq_diskops.c | 70 +++++++++++++++++++++++------------- sys/dsched/fq/dsched_fq_procops.c | 2 +- 4 files changed, 53 insertions(+), 67 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3ee00e04e58b9c411500d32ca897e49bfb913596 -- DragonFly BSD source repository
文章代碼(AID): #1BntV7B2 (DFBSD_commit)