summaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_fabric_configfs.c
diff options
context:
space:
mode:
authorMike Christie2016-02-24 20:56:33 +0100
committerNicholas Bellinger2016-03-11 06:48:53 +0100
commit07b6319687026bdac90a0bb9eeb0509f1ff27179 (patch)
tree05e7f5b5e9046c813b7d118a5542d83b33240725 /drivers/target/target_core_fabric_configfs.c
parentiser-target: Kill the ->isert_cmd back pointer in struct iser_tx_desc (diff)
downloadkernel-qcow2-linux-07b6319687026bdac90a0bb9eeb0509f1ff27179.tar.gz
kernel-qcow2-linux-07b6319687026bdac90a0bb9eeb0509f1ff27179.tar.xz
kernel-qcow2-linux-07b6319687026bdac90a0bb9eeb0509f1ff27179.zip
target/iblock: pass WRITE_SAME to device if possible
This patch has iblock pass the WRITE_SAME command to the device for offloading if possible. It is similar to what is done for UNMAP/discards, except that we export a large max write same value to the initiator, and then rely on the block layer to break it up into multiple requests if it cannot fit into one. v2. - Drop file backend changes and move helper function to iblock backend. Signed-off-by: Mike Christie <mchristi@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_fabric_configfs.c')
0 files changed, 0 insertions, 0 deletions