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


Linus Torvalds wrote:

>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?
>
Yeah. Basically the driver will call:
elv_next_request, elv_remove_request, elv_completed_request

elv_remove_request can easily just move the request to another
list, which is removed by elv_completed_request.

Don't let the names bother you, the elevator (in Andrew's tree)
gets all the information it needs.

-
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    [W:0.257 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site