init: make LIBISCSI_CACHE_ALLOCATIONS a public environment variable
this variable was introduced for iscsi-test-cu only. This patch makes it a generic environment variable that can be set per context. Signed-off-by: Peter Lieven <pl@kamp.de>
This commit is contained in:
@@ -411,6 +411,7 @@ int iscsi_reconnect(struct iscsi_context *old_iscsi)
|
||||
iscsi->tcp_keepcnt = old_iscsi->tcp_keepcnt;
|
||||
iscsi->tcp_keepintvl = old_iscsi->tcp_keepintvl;
|
||||
iscsi->tcp_syncnt = old_iscsi->tcp_syncnt;
|
||||
iscsi->cache_allocations = old_iscsi->cache_allocations;
|
||||
|
||||
iscsi->reconnect_max_retries = old_iscsi->reconnect_max_retries;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user