DragonFly commits List (threaded) for 2009-08
DragonFly BSD
DragonFly commits List (threaded) for 2009-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 19 Aug 2009 14:52:34 -0700 (PDT)

commit 9469b9f3491d1a7c6329be6c5dcc2611fdce8b17
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]