]> git.baikalelectronics.ru Git - kernel.git/commit
target: Remove transport_do_task_sg_chain() and associated detritus
authorRoland Dreier <roland@purestorage.com>
Fri, 30 Mar 2012 18:29:15 +0000 (11:29 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sun, 15 Apr 2012 00:40:32 +0000 (17:40 -0700)
commitde85a5c7aa96e5d44ce04cdd4eb60f5d2054d730
treedc56eaa7a6e60ad674059d110e6d4145adb55efd
parent067bd5d9b3c73b81daa241dbf2a7679fc9724071
target: Remove transport_do_task_sg_chain() and associated detritus

Now that all fabrics are converted over to using se_cmd->t_data_sg
directly, we can drop the task sg chaining support.  With the modern
memory allocation in target core, task sg chaining is needless
overhead -- we would split up the main cmd sglist into pieces, and
then splice those pieces back together instead of just using the
original list directly.

Signed-off-by: Roland Dreier <roland@purestorage.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_transport.c
include/target/target_core_base.h
include/target/target_core_fabric.h