NATA - Replace the queuing algorithm with the one used by bioq.
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 19 Aug 2009 21:49:14 +0000 (14:49 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 19 Aug 2009 21:49:14 +0000 (14:49 -0700)
commit9469b9f3491d1a7c6329be6c5dcc2611fdce8b17
tree04d5a3a2e05fe494db68ebea49455db338c296b1
parent30e5862e1cc9f2ce71e9c1cc2c6012a6fcdb73c7
NATA - Replace the queuing algorithm with the one used by bioq.

* NATA doesn't use bioq yet, but I replicated the algorithm to fix the
  read starvation issue.

* Interesting note: Because NATA does not have NCQ reads appear to be
  prioritized even more then they are on AHCI.
sys/dev/disk/nata/ata-all.c
sys/dev/disk/nata/ata-all.h
sys/dev/disk/nata/ata-queue.c
sys/dev/disk/nata/ata-usb.c