Messages in this thread |  | | Date | Tue, 27 May 2003 10:49:59 +1000 | From | Nick Piggin <> | Subject | Re: [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/
|  |