cvs commit: src/sys/dev/disk/nata ata-queue.c

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Sep 23 10:45:08 PDT 2008


dillon      2008/09/23 10:43:41 PDT

DragonFly src repository

  Modified files:
    sys/dev/disk/nata    ata-queue.c 
  Log:
  Make two more changes to the ata request queue sorting code.
  
  * Do not try to sort write requests.  There's no point, the hard drive
    has a write cache and a much better understanding of the media topology
    and will sort the requests for us.
  
  * Move the freeze point every 16 requests instead of every 128 to further
    reduce the amount of reordering we allow to prevent older requests from
    being delayed indefinitely by newer requests.
  
    Note: the original ata code didn't code any limits at all, causing insanely
    long latencies during heavy disk I/O for no good reason.
  
  Reported-by: Hasso Tepper <hasso at estpak.ee>
  
  Revision  Changes    Path
  1.11      +17 -6     src/sys/dev/disk/nata/ata-queue.c


http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/nata/ata-queue.c.diff?r1=1.10&r2=1.11&f=u





More information about the Commits mailing list