]> git.baikalelectronics.ru Git - kernel.git/commit
target: Add per device xcopy_lun for copy offload I/O
authorNicholas Bellinger <nab@linux-iscsi.org>
Fri, 8 Nov 2013 21:10:44 +0000 (13:10 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 8 Nov 2013 21:13:38 +0000 (13:13 -0800)
commitf007578274a6ac5874e2f6cf2915bcb7790e5c08
tree228f0fe16e5264922c383c5b9a6cfc17b30a5e6d
parent85e25166ff3e26e3c905a104802ffc8ec0dc992c
target: Add per device xcopy_lun for copy offload I/O

This patch adds a se_device->xcopy_lun that is used for local
copy offload I/O, instead of allocating + initializing a pseudo
se_lun for each received EXTENDED_COPY operation.

Also, move declaration of struct se_lun + struct se_port_stat_grps
ahead of struct se_device.

Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_device.c
drivers/target/target_core_xcopy.c
include/target/target_core_base.h