Merge pull request #164 from robertbaldyga/add-open-cores-parameter
Add open_cores parameter to ocf_mngt_cache_device_config
This commit is contained in:
@@ -413,7 +413,7 @@ static int _ocf_mngt_init_instance_add_cores(
|
||||
core->opened = true;
|
||||
ocf_cache_log(cache, log_info,
|
||||
"Attached core %u from pool\n", i);
|
||||
} else {
|
||||
} else if (context->cfg.open_cores) {
|
||||
ret = ocf_volume_open(&core->volume, NULL);
|
||||
if (ret == -OCF_ERR_NOT_OPEN_EXC) {
|
||||
ocf_cache_log(cache, log_warn,
|
||||
|
Reference in New Issue
Block a user