DragonFly-2.1.1.436.g03a48 master sys/dev/disk/nata ata-all.h ata-queue.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Jan 19 17:03:28 PST 2009
commit 03a48513afad310c17e251b2950c17ea6b6936d2
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Mon Jan 19 16:53:46 2009 -0800
NATA disk sort / elevator algorithm adjustments.
Move the sortq_lost counter from the request structure to the channel
structure to fix some edge conditions. Limit the sort to a maximum of
16 elements before moving the freeze pointer.
This should improve the protection against large continuous linear reads
and writes which can delay unrelated I/O's for very long periods of time.
Reported-by: Hasso Tepper <sinknull at crater.dragonflybsd.org>,
"Simon 'corecode' Schubert" <corecode at fs.ei.tum.de>
Summary of changes:
sys/dev/disk/nata/ata-all.h | 5 +++--
sys/dev/disk/nata/ata-queue.c | 23 +++++++++++++++++------
2 files changed, 20 insertions(+), 8 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/03a48513afad310c17e251b2950c17ea6b6936d2
--
DragonFly BSD source repository
More information about the Commits
mailing list