Hi,
I am currently working on developing a iSCSI protocol conformance suite.
I am currently testing it against a LIO based target.
The LIO target details are as follows
kernel : 3.10.13-101.fc18.x86_64 #1 SMP(Fedora 18)
rpm -qa | grep target
scsi-target-utils-1.0.38-1.fc18.x86_64
selinux-policy-targeted-3.11.1-66.fc18.noarch
targetcli-2.1.fb30-1.fc18.noarch
I am facing few issues and needed to clarify few of my doubts.
1. Our suite currently checks the behavior of a target when a Data-Out
PDU with DataSegmentLength set to 0 is sent out. And what i see in the
target is as follows
~# dmesg
[599509.602032] DataOUT payload is ZERO, protocol error.
[599675.065060] DataOUT payload is ZERO, protocol error.
But the RFC states the following
10.7.7. DataSegmentLength
This is the data payload length of a SCSI Data-In or SCSI Data-Out PDU.
"The sending of 0 length data segments should be avoided, but initiators
and targets MUST be able to properly receive 0 length data
segments."
Is this the default behavior of LIO. It would be great if someone could
clarify my doubts.
Regards
Santosh
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html