From: Nicholas Bellinger Date: Tue, 2 Oct 2012 06:29:49 +0000 (-0700) Subject: tcm_loop: Convert I/O path to use target_submit_cmd_map_sgls X-Git-Tag: v3.7-rc1~61^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f9f44f8957b262de717a48269a5ceca36c2b504;p=pandora-kernel.git tcm_loop: Convert I/O path to use target_submit_cmd_map_sgls This patch converts tcm_loop to use target_submit_cmd_map_sgls() for I/O submission and mapping of pre-allocated SGL memory from incoming scsi_cmnd -> se_cmd descriptors. This includes removing the original open-coded fabric uses of target core callers to support transport_generic_map_mem_to_cmd() between target_setup_cmd_from_cdb() and transport_handle_cdb_direct() logic. (v2: Use renamed target_submit_cmd_map_sgls) Reported-by: Christoph Hellwig Reviewed-by: Christoph Hellwig Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed