kiobuf questions
hi
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 andwait_queue
now, the documentation says that this is a completion callback , but i never saw anyone using it.
the same goes for the wait_queue, i didn't see any code utilizing it( except for the kiobuf_wait_for_io() which noone uses )
THX
/gabi
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
Hi,
Quoted 10 lines · BenHanokh Gabriel
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_ioandwait_queuenow, 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 [email protected]. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/