Messages in this thread |  | | Date | Tue, 06 Feb 2001 22:26:18 +0100 | From | Manfred Spraul <> | Subject | Re: [Kiobuf-io-devel] RFC: Kernel mechanism: Compound event wait |
| |
Jens Axboe wrote: > > > Several kernel functions need a "dontblock" parameter (or a callback, or > > a waitqueue address, or a tq_struct pointer). > > We don't even need that, non-blocking is implicitly applied with READA. > READA just returns - I doubt that the aio functions should poll until there are free entries in the request queue.
The pending aio requests should be "included" into the wait_for_requests waitqueue (ok, they don't have a process context, thus a wait queue entry doesn't help, but these requests belong into that wait queue)
-- Manfred - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |