[dm-devel] Calling bio_endio() without completing submit_bio()

Abhishek Gupta abhishekgupt at gmail.com
Sun Mar 19 20:14:37 UTC 2006


Hi everyone,

Does anyone know if it is possible to make a call to bio_endio() while we
are still executing a submit_bio()? For example, a call to submit_bio() on a
virtual device backed by the device mapper would end up in a call to the
dm_request() function, which would eventually end up in a call to
ti->type->map() in __map_bio() function. Is it valid to call bio_endio()
from the map() function for individual target types?

Let me know if I am totally crazy.

Thanks

Abhishek Gupta
Graduate Student 2nd Year
Department of Computer Science,
UBC, Vancouver, Canada.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20060319/99983cb5/attachment.htm>


More information about the dm-devel mailing list