summaryrefslogtreecommitdiff
path: root/Documentation/target
diff options
context:
space:
mode:
authorAndy Grover <agrover@redhat.com>2015-05-19 14:44:39 -0700
committerNicholas Bellinger <nab@linux-iscsi.org>2015-05-30 19:57:48 -0700
commit9c1cd1b68cd15c81d12a0cf2402129475882b620 (patch)
tree83f3008fd0b47e62b6792926f2bc8eec1b9082d2 /Documentation/target
parentcf87edc6022d1fe7efa6b8ce1a99f2ef6a1b27f9 (diff)
target/user: Only support full command pass-through
After much discussion, give up on only passing a subset of SCSI commands to userspace and pass them all. Based on what pscsi is doing, make sure to set SCF_SCSI_DATA_CDB for I/O ops, and define attributes identical to pscsi. Make hw_block_size configurable via dev param. Remove mention of command filtering from tcmu-design.txt. Signed-off-by: Andy Grover <agrover@redhat.com> Reviewed-by: Ilias Tsitsimpis <iliastsi@arrikto.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'Documentation/target')
-rw-r--r--Documentation/target/tcmu-design.txt21
1 files changed, 1 insertions, 20 deletions
diff --git a/Documentation/target/tcmu-design.txt b/Documentation/target/tcmu-design.txt
index b495108c433c..263b907517ac 100644
--- a/Documentation/target/tcmu-design.txt
+++ b/Documentation/target/tcmu-design.txt
@@ -15,8 +15,7 @@ Contents:
a) Discovering and configuring TCMU uio devices
b) Waiting for events on the device(s)
c) Managing the command ring
-3) Command filtering
-4) A final note
+3) A final note
TCM Userspace Design
@@ -364,24 +363,6 @@ int handle_device_events(int fd, void *map)
}
-Command filtering
------------------
-
-Initial TCMU support is for a filtered commandset. Only IO-related
-commands are presented to userspace, and the rest are handled by LIO's
-in-kernel command emulation. The commands presented are all versions
-of:
-
-READ
-WRITE
-WRITE_VERIFY
-XDWRITEREAD
-WRITE_SAME
-COMPARE_AND_WRITE
-SYNCHRONIZE_CACHE
-UNMAP
-
-
A final note
------------