block io buffers (bio)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux