看板 DFBSD_commit 關於我們 聯絡資訊
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