summaryrefslogtreecommitdiffstats
path: root/crypto/pcompress.c
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2011-07-21 04:41:48 +0000
committerNicholas Bellinger <nab@linux-iscsi.org>2011-07-22 09:37:48 +0000
commit1d20bb6147954d4fbd337a3d1b40c7eeae254cd7 (patch)
tree23dcdd9376c5e26acfd2817812e2d5ccfbf81149 /crypto/pcompress.c
parent6708bb27bb2703da238f21f516034263348af5be (diff)
downloadtalos-obmc-linux-1d20bb6147954d4fbd337a3d1b40c7eeae254cd7.tar.gz
talos-obmc-linux-1d20bb6147954d4fbd337a3d1b40c7eeae254cd7.zip
target: ->map_task_SG conversion to ->map_control_SG and ->map_data_SG
This patch breaks up the ->map_task_SG() backend call into two seperate ->map_control_SG() and ->map_data_SG() in order to better address IBLOCK and pSCSI. IBLOCK only allocates bios for ->map_data_SG(), and pSCSI will allocate a struct request for both cases. This patch fixes incorrect usage of ->map_task_SG() for all se_cmd descriptors in transport_generic_new_cmd() by moving the call into it's proper location directly inside of transport_allocate_data_tasks() Reported-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'crypto/pcompress.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud