test-tool: remove the --usb argument and use BLCSECTGET to read max xfer

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
This commit is contained in:
Ronnie Sahlberg
2015-02-16 16:04:28 -08:00
parent cb7882a84c
commit 51bd0ce3ec
3 changed files with 16 additions and 38 deletions

View File

@@ -2,12 +2,12 @@
.\" Title: iscsi-test-cu
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 03/26/2014
.\" Date: 02/16/2015
.\" Manual: iscsi-test-cu: iSCSI/SCSI protocol test suite
.\" Source: iscsi-test-cu
.\" Language: English
.\"
.TH "ISCSI\-TEST\-CU" "1" "03/26/2014" "iscsi\-test\-cu" "iscsi\-test\-cu: iSCSI/SCSI pr"
.TH "ISCSI\-TEST\-CU" "1" "02/16/2015" "iscsi\-test\-cu" "iscsi\-test\-cu: iSCSI/SCSI pr"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -33,7 +33,7 @@ iscsi-test-cu \- iSCSI/SCSI test suite
.HP \w'\fBiscsi\-test\-cu\ [\ OPTIONS\ ]\ <ISCSI\-PORTAL>\fR\ 'u
\fBiscsi\-test\-cu [ OPTIONS ] <ISCSI\-PORTAL>\fR
.HP \w'\fBiscsi\-test\-cu\fR\ 'u
\fBiscsi\-test\-cu\fR [\-i\ \-\-initiator\-name=<IQN>] [\-I\ \-\-initiator\-name\-2=<IQN>] [\-l\ \-\-list] [\-t\ \-\-test=<family>|*[\&.<suite>|*[\&.<test>|*]]] [\-d\ \-\-dataloss] [\-s\ \-\-allow\-sanitize] [\-u\ \-\-usb] [\-V\ \-\-Verbose\-scsi] [\-x\ \-\-xml] [\-?\ \-\-help]
\fBiscsi\-test\-cu\fR [\-i\ \-\-initiator\-name=<IQN>] [\-I\ \-\-initiator\-name\-2=<IQN>] [\-l\ \-\-list] [\-t\ \-\-test=<family>|*[\&.<suite>|*[\&.<test>|*]]] [\-d\ \-\-dataloss] [\-s\ \-\-allow\-sanitize] [\-V\ \-\-Verbose\-scsi] [\-x\ \-\-xml] [\-?\ \-\-help]
.SH "DESCRIPTION"
.PP
iscsi\-test\-cu is a test suite for iSCSI/SCSI\&.
@@ -151,13 +151,6 @@ The SBC SANITIZE opcode is expected to take significant time before it completes
By default any SBC SANITIZE tests will be skipped\&. Use these arguments if you really want to perform SANITIZE tests\&.
.RE
.PP
\-u \-\-usb
.RS 4
SCSI devices that sit behind a USB bus are on linux limited to maximum 120k for any single SCSI Read*/Write*\&.
.sp
When testing against a USB SCSI device you need to specify these arguments so that the tests will clamp the read/write size to a maximum of 120k\&.
.RE
.PP
\-V \-\-Verbose\-scsi
.RS 4
The tests aims to be self\-documenting\&. By specifying the \-V flag the test tool will print all SCSI commands that are sent to the device, the arguments and the expected result\&.

View File

@@ -27,7 +27,6 @@
<arg choice="opt">-t --test=&lt;family&gt;|*[.&lt;suite&gt;|*[.&lt;test&gt;|*]]</arg>
<arg choice="opt">-d --dataloss</arg>
<arg choice="opt">-s --allow-sanitize</arg>
<arg choice="opt">-u --usb</arg>
<arg choice="opt">-V --Verbose-scsi</arg>
<arg choice="opt">-x --xml</arg>
<arg choice="opt">-? --help</arg>
@@ -186,20 +185,6 @@ iscsi-test-cu --test=~/tests-to-run
</listitem>
</varlistentry>
<varlistentry><term>-u --usb</term>
<listitem>
<para>
SCSI devices that sit behind a USB bus are on linux limited
to maximum 120k for any single SCSI Read*/Write*.
</para>
<para>
When testing against a USB SCSI device you need to specify these
arguments so that the tests will clamp the read/write size to
a maximum of 120k.
</para>
</listitem>
</varlistentry>
<varlistentry><term>-V --Verbose-scsi</term>
<listitem>
<para>