target/user: Only support full command pass-through
authorAndy Grover <agrover@redhat.com>
Tue, 19 May 2015 21:44:39 +0000 (14:44 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sun, 31 May 2015 02:57:48 +0000 (19:57 -0700)
commit9c1cd1b68cd15c81d12a0cf2402129475882b620
tree83f3008fd0b47e62b6792926f2bc8eec1b9082d2
parentcf87edc6022d1fe7efa6b8ce1a99f2ef6a1b27f9
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>
Documentation/target/tcmu-design.txt
drivers/target/target_core_user.c