lkml.org 
[lkml]   [2009]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 24/23] io-controller: Don't leave a queue active when a disk is idle
Vivek Goyal wrote:
> o It is possible that when there is only a single queue in the system, it
> remains unexpired for a long time (because there is no IO activity on the
> disk). So when next request comes in after a long time, it might make
> scheduler think that all this while queue used the disk and it will assign
> a high vdisktime to the queue. Hence make sure queue is expired once all
> the requests have completed from the queue.
>
> o Also avoid unnecessarily expiring a queue when it has got one request
> dispatched to the queue and waiting for it to finish and it does not have
> more requests queued to dispatch.
>
> Signed-off-by: Vivek Goyal <vgoyal@redhat.com>

Acked-by: Rik van Riel <riel@redhat.com>

--
All rights reversed.


\
 
 \ /
  Last update: 2009-09-09 05:43    [W:0.539 / U:7.756 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site