Hi,
I've got a quick question on the blk_rq_map_sg() API usage.
In an efforts of implementing pass through support on FC transport
layer, the transport would call blk_rq_map_sg() API to map the pages
in the bio structure so that the LLD could DMA to/from the mapped
addresses - as specified in the section 2.2 of the ~/Documentation/
block/biodoc.txt.
To me, it seems like a right way to do..., could anyone comment on
this approach?
Also, I couldn't find symmetric counter-part for the API (i.e.,
blk_rq_unmap_sg() or similar).
Does this means that we don't need to unmap those addresses?
Thank you,
Seokmann
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html