linux/include/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
..
configfs_macros.h
target_core_base.h target: Make all control CDBs scatter-gather 2011-07-22 09:37:48 +00:00
target_core_configfs.h [SCSI] target: add initial statistics 2011-03-23 11:36:50 -05:00
target_core_device.h target: Implement Block Device Characteristics VPD page 2011-07-22 09:37:47 +00:00
target_core_fabric_configfs.h
target_core_fabric_lib.h
target_core_fabric_ops.h target: merge release_cmd methods 2011-07-22 09:37:44 +00:00
target_core_tmr.h [SCSI] target: Convert TMR REQ/RSP definitions to target namespace 2011-03-23 11:36:35 -05:00
target_core_tpg.h
target_core_transport.h target: Make all control CDBs scatter-gather 2011-07-22 09:37:48 +00:00