Re: [BK PATCHES] add ata scsi driver

From: Linus Torvalds (torvalds@transmeta.com)
Date: Mon May 26 2003 - 19:12:39 EST



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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/