android_kernel_motorola_sm6225/drivers/target
Andy Grover 05d1c7c0d0 target: Make all control CDBs scatter-gather
Previously, some control CDBs did not allocate memory in pages for their
data buffer, but just did a kmalloc. This patch makes all cdbs allocate
pages.

This has the benefit of streamlining some paths that had to behave
differently when we used two allocation methods. The downside is that
all accesses to the data buffer need to kmap it before use, and need to
handle data in page-sized chunks if more than a page is needed for a given
command's data buffer.

Finally, note that cdbs with no data buffers are handled a little
differently. Before, SCSI_NON_DATA_CDBs would not call get_mem at all
(they'd be in the final else in transport_allocate_resources) but now
these will make it into generic_get_mem, but just not allocate any
buffers.

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
..
loopback loopback: Fix memory leak in tcm_loop_make_scsi_hba() 2011-07-22 09:37:46 +00:00
tcm_fc target: Make all control CDBs scatter-gather 2011-07-22 09:37:48 +00:00
Kconfig [SCSI] tcm_fc: Adding FC_FC4 provider (tcm_fc) for FCoE target (TCM - target core) support 2011-05-17 10:52:46 +04:00
Makefile [SCSI] tcm_fc: Adding FC_FC4 provider (tcm_fc) for FCoE target (TCM - target core) support 2011-05-17 10:52:46 +04:00
target_core_alua.c target: Make all control CDBs scatter-gather 2011-07-22 09:37:48 +00:00
target_core_alua.h [SCSI] target: Add LIO target core v4.0.0-rc6 2011-01-14 10:12:29 -06:00
target_core_cdb.c target: Make all control CDBs scatter-gather 2011-07-22 09:37:48 +00:00
target_core_configfs.c target: Implement Block Device Characteristics VPD page 2011-07-22 09:37:47 +00:00
target_core_device.c target: Make all control CDBs scatter-gather 2011-07-22 09:37:48 +00:00
target_core_fabric_configfs.c target: Core cleanups from AGrover (round 1) 2011-07-22 09:37:43 +00:00
target_core_fabric_lib.c Fix common misspellings 2011-03-31 11:26:23 -03:00
target_core_file.c target: Updates from AGrover and HCH (round 3) 2011-07-22 09:37:44 +00:00
target_core_file.h target: Core cleanups from AGrover (round 1) 2011-07-22 09:37:43 +00:00
target_core_hba.c target: Core cleanups from AGrover (round 1) 2011-07-22 09:37:43 +00:00
target_core_hba.h [SCSI] target: Add LIO target core v4.0.0-rc6 2011-01-14 10:12:29 -06:00
target_core_iblock.c target: Implement Block Device Characteristics VPD page 2011-07-22 09:37:47 +00:00
target_core_iblock.h target/iblock: Remove unused iblock_dev members 2011-07-22 09:37:46 +00:00
target_core_pr.c target: Make all control CDBs scatter-gather 2011-07-22 09:37:48 +00:00
target_core_pr.h target: Core cleanups from AGrover (round 1) 2011-07-22 09:37:43 +00:00
target_core_pscsi.c target: Make all control CDBs scatter-gather 2011-07-22 09:37:48 +00:00
target_core_pscsi.h target: Core cleanups from AGrover (round 1) 2011-07-22 09:37:43 +00:00
target_core_rd.c target: Updates from AGrover and HCH (round 3) 2011-07-22 09:37:44 +00:00
target_core_rd.h target: Core cleanups from AGrover (round 1) 2011-07-22 09:37:43 +00:00
target_core_scdb.c [SCSI] target: Add LIO target core v4.0.0-rc6 2011-01-14 10:12:29 -06:00
target_core_scdb.h [SCSI] target: Add LIO target core v4.0.0-rc6 2011-01-14 10:12:29 -06:00
target_core_stat.c target: Core cleanups from AGrover (round 1) 2011-07-22 09:37:43 +00:00
target_core_stat.h [SCSI] target: add initial statistics 2011-03-23 11:36:50 -05:00
target_core_tmr.c target: Make se_tmr_lock IRQ-safe 2011-07-22 09:37:45 +00:00
target_core_tpg.c target: Core cleanups from AGrover (round 1) 2011-07-22 09:37:43 +00:00
target_core_transport.c target: Make all control CDBs scatter-gather 2011-07-22 09:37:48 +00:00
target_core_ua.c target: Updates from AGrover and HCH (round 3) 2011-07-22 09:37:44 +00:00
target_core_ua.h [SCSI] target: Add LIO target core v4.0.0-rc6 2011-01-14 10:12:29 -06:00