diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-10-02 08:29:49 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-10-02 23:16:11 +0200 |
commit | 8f9f44f8957b262de717a48269a5ceca36c2b504 (patch) | |
tree | 54281bd040994ec92f25dc140aa29a4647dee5ae /drivers/vhost/tcm_vhost.c | |
parent | target: Add target_submit_cmd_map_sgls for SGL fabric memory passthrough (diff) | |
download | linux-8f9f44f8957b262de717a48269a5ceca36c2b504.tar.xz linux-8f9f44f8957b262de717a48269a5ceca36c2b504.zip |
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 <hch@lst.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/vhost/tcm_vhost.c')
0 files changed, 0 insertions, 0 deletions