linux/drivers/target/tcm_fc
Andy Grover ec98f7825c target: Eliminate usage of struct se_mem
Both backstores and fabrics use arrays of struct scatterlist to describe
data buffers. However TCM used struct se_mems, basically a linked list
of scatterlist entries. We are able to simplify the code by eliminating
this intermediate data structure and just using struct scatterlist[]
throughout.

Also, moved attachment of task to cmd out of transport_generic_get_task
and into allocate_control_task and allocate_data_tasks. The reasoning
is that it's nonintuitive that get_task should automatically add it to
the cmd's task list -- it should just return an allocated, initialized
task. That's all it should do, based on the function's name, so either the
function shouldn't do it, or the name should change to encapsulate the
entire essence of what it does.

(nab: Fix compile warnings in tcm_fc, and make transport_kmap_first_data_page
 honor sg->offset for SGLs from contigious memory with TCM_Loop, and
 fix control se_cmd descriptor memory leak)

Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2011-07-22 09:37:48 +00:00
..
Kconfig
Makefile tcm_fc: Makefile cleanups 2011-07-22 09:37:47 +00:00
tcm_fc.h target: remove the always-noop ->new_cmd_failure method 2011-07-22 09:37:44 +00:00
tfc_cmd.c target: Eliminate usage of struct se_mem 2011-07-22 09:37:48 +00:00
tfc_conf.c tcm_fc: Convert to wake_up_process and schedule_timeout_interruptible 2011-07-22 09:37:47 +00:00
tfc_io.c target: Eliminate usage of struct se_mem 2011-07-22 09:37:48 +00:00
tfc_sess.c tcm_fc: Fix possible lock to unlock type deadlock 2011-06-24 00:09:15 +00:00