[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
block io buffers (bio)
Hi,
In bio_endio() I want to access the buffer whose transfer has been
completed. How do I do safely do this?
In bio_endio(), if I did:
bio->bi_io_vec[bio->bi_idx]->bv_page->virtual
*ignoring* highmem, would this be the start address of the completed buffer?
What about bv_offset in bio_vec?
Finally, is bio_endio() the only place that successful bio transfers end up at?
Thanks,
Bahadir
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ