diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-10-02 00:23:22 (GMT) |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-10-02 21:16:08 (GMT) |
commit | a026757ff56365b4aa3875c14f1bd5733e0e8bb2 (patch) | |
tree | c9cd1990da5bc8cc11808a78067e96923091e006 /fs/dlm/lowcomms.c | |
parent | 38b11bae6ba02da352340aff12ee25755977b222 (diff) | |
download | linux-fsl-qoriq-a026757ff56365b4aa3875c14f1bd5733e0e8bb2.tar.xz |
target: Add target_submit_cmd_map_sgls for SGL fabric memory passthrough
This patch adds a new target_submit_cmd_map_sgls() to pass pre-allocated
SGL memory using transport_generic_map_mem_to_cmd() logic into the generic
target submit I/O codepath.
It also adds a target_submit_cmd() wrapper around target_submit_cmd_map_sgls()
for existing fabric code that already assumes internal target-core SGL memory
allocation.
(v2: Rename to target_submit_cmd_map_sgls + drop TARGET_SCF_MAP_MEM flag
in favor of non zero sgl_count check)
Reported-by: Christoph Hellwig <hch@lst.de>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'fs/dlm/lowcomms.c')
0 files changed, 0 insertions, 0 deletions