aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorAndy Grover <agrover@redhat.com>2015-05-19 17:44:39 -0400
committerNicholas Bellinger <nab@linux-iscsi.org>2015-05-30 22:57:48 -0400
commit9c1cd1b68cd15c81d12a0cf2402129475882b620 (patch)
tree83f3008fd0b47e62b6792926f2bc8eec1b9082d2 /Documentation
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')
-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:
15 a) Discovering and configuring TCMU uio devices 15 a) Discovering and configuring TCMU uio devices
16 b) Waiting for events on the device(s) 16 b) Waiting for events on the device(s)
17 c) Managing the command ring 17 c) Managing the command ring
183) Command filtering 183) A final note
194) A final note
20 19
21 20
22TCM Userspace Design 21TCM Userspace Design
@@ -364,24 +363,6 @@ int handle_device_events(int fd, void *map)
364} 363}
365 364
366 365
367Command filtering
368-----------------
369
370Initial TCMU support is for a filtered commandset. Only IO-related
371commands are presented to userspace, and the rest are handled by LIO's
372in-kernel command emulation. The commands presented are all versions
373of:
374
375READ
376WRITE
377WRITE_VERIFY
378XDWRITEREAD
379WRITE_SAME
380COMPARE_AND_WRITE
381SYNCHRONIZE_CACHE
382UNMAP
383
384
385A final note 366A final note
386------------ 367------------
387 368