On Wed, 2008-02-06 at 10:29 +0900, FUJITA Tomonori wrote:
The TCP connection will drop, remember that the TCP connection state for
one side has completely vanished. Depending on iSCSI/iSER
ErrorRecoveryLevel that is set, this will mean:
1) Session Recovery, ERL=0 - Restarting the entire nexus and all
connections across all of the possible subnets or comm-links. All
outstanding un-StatSN acknowledged commands will be returned back to the
SCSI subsystem with RETRY status. Once a single connection has been
reestablished to start the nexus, the CDBs will be resent.
2) Connection Recovery, ERL=2 - CDBs from the failed connection(s) will
be retried (nothing changes in the PDU) to fill the iSCSI CmdSN ordering
gap, or be explictly retried with TMR TASK_REASSIGN for ones already
acknowledged by the ExpCmdSN that are returned to the initiator in
response packets or by way of unsolicited NopINs.
FYI, the LIO code also supports rmmoding iscsi_target_mod while at full
10 Gb/sec speed. I think it should be a requirement to be able to
control per initiator, per portal group, per LUN, per device, per HBA in
the design without restarting any other objects.
--nab
--