dsched_fq - Refactor and clean; handle flushes
authorAlex Hornung <ahornung@gmail.com>
Thu, 1 Apr 2010 01:09:59 +0000 (01:09 +0000)
committerAlex Hornung <ahornung@gmail.com>
Thu, 15 Apr 2010 20:24:49 +0000 (20:24 +0000)
commit3ee00e04e58b9c411500d32ca897e49bfb913596
tree37c7ceb656dc3dc22f29b33692b6b575e507c26a
parent7ce2998efcfaed1263ab8e58b674a55dfed89b3d
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.
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