lkml.org 
[lkml]   [2003]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [BK PATCHES] add ata scsi driver

On Tue, 27 May 2003, Nick Piggin wrote:
>
> There is an elevator notifier which is called on request
> completion in Andrew's tree (needed for AS io scheduler). This
> can be used to do what you want.

Well, yeah, sure, you can use it to keep track of outstanding requests.
But wouldn't it be nicer to see them in the first place?

The question being: how do you sanely avoid adding more requests to the
queue if you start seeing starvation? Or if adding more requests, at least
using an ordered tag or a barrier or whatever to make sure that you tell
the disk that the new request must not be done before the old one has
finally been satisfied?

I think you'd want to see the old requests in order to be able to make
that decision reasonably well.

This is clearly not a 2.6.x issue, btw.

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:35    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site