diff options
author | Nicholas Bellinger <[email protected]> | 2012-10-01 18:40:55 -0700 |
---|---|---|
committer | Nicholas Bellinger <[email protected]> | 2012-10-02 14:16:20 -0700 |
commit | 9f0abc1554cfedf2f2391f6ee54ae319441cd1b9 (patch) | |
tree | df8e72708ef8dceb983cf4b166193070cac256ad /lib/mpi/mpi-inline.h | |
parent | 944981c7e106af2aa004847e9177497856630980 (diff) |
tcm_vhost: Convert I/O path to use target_submit_cmd_map_sgls
This patch converts tcm_vhost to use target_submit_cmd_map_sgls() for
I/O submission and mapping of pre-allocated SGL memory from incoming
virtio-scsi SGL memory -> 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.
It also includes adding a handful of new tcm_vhost_cmnd member +
assignments in vhost_scsi_allocate_cmd() used from cmwq process
context I/O submission within tcm_vhost_submission_work()
(v2: Use renamed target_submit_cmd_map_sgls)
Reported-by: Christoph Hellwig <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: Stefan Hajnoczi <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions