pass through support: question: blk_rq_map_sg() usage...

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

 



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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux