git: NATA - Replace the queuing algorithm with the one used by bioq.

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Aug 19 14:52:47 PDT 2009


commit 9469b9f3491d1a7c6329be6c5dcc2611fdce8b17
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Aug 19 14:49:14 2009 -0700

    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.

Summary of changes:
 sys/dev/disk/nata/ata-all.c   |    2 +-
 sys/dev/disk/nata/ata-all.h   |    5 +-
 sys/dev/disk/nata/ata-queue.c |  160 +++++++++++++++++++----------------------
 sys/dev/disk/nata/ata-usb.c   |    2 +-
 4 files changed, 80 insertions(+), 89 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9469b9f3491d1a7c6329be6c5dcc2611fdce8b17


-- 
DragonFly BSD source repository





More information about the Commits mailing list