reconnect logic and pdu handling
Rework the reconnect logic so we just call iscsi_scsi_command_async() for the scsi commands we are re-quining instead of poking into the private fields of the structures themself. Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
This commit is contained in:
@@ -189,7 +189,7 @@ iscsi_timeout_scan(struct iscsi_context *iscsi)
|
||||
}
|
||||
}
|
||||
|
||||
int
|
||||
static int
|
||||
iscsi_send_unsolicited_data_out(struct iscsi_context *iscsi, struct iscsi_pdu *pdu)
|
||||
{
|
||||
uint32_t len = MIN(pdu->expxferlen, iscsi->first_burst_length) - pdu->payload_len;
|
||||
|
||||
Reference in New Issue
Block a user