Merge pull request #256 from crawfxrd/no-auto-reconnect
Make iscsi_set_noautoreconnect public
This commit is contained in:
@@ -350,8 +350,6 @@ uint32_t crc32c(uint8_t *buf, int len);
|
|||||||
|
|
||||||
struct scsi_task *iscsi_scsi_get_task_from_pdu(struct iscsi_pdu *pdu);
|
struct scsi_task *iscsi_scsi_get_task_from_pdu(struct iscsi_pdu *pdu);
|
||||||
|
|
||||||
void iscsi_set_noautoreconnect(struct iscsi_context *iscsi, int state);
|
|
||||||
|
|
||||||
void iscsi_decrement_iface_rr(void);
|
void iscsi_decrement_iface_rr(void);
|
||||||
|
|
||||||
#define ISCSI_LOG(iscsi, level, format, ...) \
|
#define ISCSI_LOG(iscsi, level, format, ...) \
|
||||||
|
|||||||
@@ -1595,6 +1595,16 @@ iscsi_set_tcp_syncnt(struct iscsi_context *iscsi, int value);
|
|||||||
EXTERN void
|
EXTERN void
|
||||||
iscsi_set_bind_interfaces(struct iscsi_context *iscsi, char * interfaces);
|
iscsi_set_bind_interfaces(struct iscsi_context *iscsi, char * interfaces);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This function is to disable auto reconnect logic.
|
||||||
|
*
|
||||||
|
* 0 - Disable this feature (auto reconnect)
|
||||||
|
* 1 - Enable this feature (no auto reconnect)
|
||||||
|
*/
|
||||||
|
EXTERN void
|
||||||
|
iscsi_set_noautoreconnect(struct iscsi_context *iscsi, int state);
|
||||||
|
|
||||||
|
|
||||||
/* This function is to set if we should retry a failed reconnect
|
/* This function is to set if we should retry a failed reconnect
|
||||||
|
|
||||||
count is defined as follows:
|
count is defined as follows:
|
||||||
|
|||||||
Reference in New Issue
Block a user