Hi,
Is the following an expected behavior for LIO.
For iSCSI PDUs with CmdSN say greater(outside the range basically from
ExpCmdSN to MaxCmdSN) than MaxCmdsn,LIO is straight away rejecting it as
protocol error and not accepting further write commands.
~# dmesg
[1393323.895597] Received CmdSN: 0x00000155 is greater than MaxCmdSN:
0x00000092, protocol error.
[1393783.532961] Received CmdSN: 0x00000155 is greater than MaxCmdSN:
0x00000092, protocol error.
But as per RFC the expected behavior is to silently ignore.
Stating clause 3.2.2.1
3.2.2.1. Command Numbering and Acknowledging
"For non-immediate commands, the CmdSN field can take any
value from ExpCmdSN to MaxCmdSN inclusive. The target MUST silently
ignore any non-immediate command outside of this range or non-
immediate duplicates within the range"
LIO must ignore such PDUs and handle subsequent PDUs.
Regards
Santosh Kulkarni
--
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