Update OCF - dynamic metadata update in standby mode

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
Robert Baldyga 2021-11-19 17:01:43 +01:00
parent d9b8df7748
commit b189a7147e
2 changed files with 2 additions and 1 deletions

View File

@ -1199,6 +1199,7 @@ int cache_mngt_prepare_core_cfg(struct ocf_mngt_core_config *cfg,
cfg->uuid.data = cmd_info->core_path_name; cfg->uuid.data = cmd_info->core_path_name;
cfg->uuid.size = strnlen(cmd_info->core_path_name, MAX_STR_LEN) + 1; cfg->uuid.size = strnlen(cmd_info->core_path_name, MAX_STR_LEN) + 1;
cfg->try_add = cmd_info->try_add; cfg->try_add = cmd_info->try_add;
cfg->seq_cutoff_promote_on_threshold = true;
if (!cas_bdev_exist(cfg->uuid.data)) if (!cas_bdev_exist(cfg->uuid.data))
return -OCF_ERR_INVAL_VOLUME_TYPE; return -OCF_ERR_INVAL_VOLUME_TYPE;

2
ocf

@ -1 +1 @@
Subproject commit f6e337ac79f0f016ee053b1fc6caf44abeb9cbf8 Subproject commit 8669a296ccd87f5dc274920cf613143f74cb8cb3