connect: make the reconnect async
Signed-off-by: Peter Lieven <pl@kamp.de>
This commit is contained in:
@@ -154,8 +154,10 @@ struct iscsi_context {
|
||||
int smalloc_free;
|
||||
size_t smalloc_size;
|
||||
|
||||
time_t last_reconnect;
|
||||
time_t next_reconnect;
|
||||
int scsi_timeout;
|
||||
struct iscsi_context *old_iscsi;
|
||||
int retry_cnt;
|
||||
};
|
||||
|
||||
#define ISCSI_PDU_IMMEDIATE 0x40
|
||||
|
||||
Reference in New Issue
Block a user