[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: kiobuf questions
Hi,
On Tue, Oct 03, 2000 at 05:37:24PM +0300, BenHanokh Gabriel wrote:
>
> i'm trying to understand the role of the kiobuf struct in the io
> subsystem.
>
> there are 2 fields i failed to see any reference to :
> end_io and
> wait_queue
>
> now, the documentation says that this is a completion callback , but i
> never saw anyone using it.
That's because the only user of kiobuf-based IO is, for now,
synchronous. You need end_io() callbacks and a wait queue to allow
async completion in the future.
Cheers,
Stephen
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/