Update OCF - dynamic metadata update in standby mode
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
parent
d9b8df7748
commit
b189a7147e
@ -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
2
ocf
@ -1 +1 @@
|
|||||||
Subproject commit f6e337ac79f0f016ee053b1fc6caf44abeb9cbf8
|
Subproject commit 8669a296ccd87f5dc274920cf613143f74cb8cb3
|
Loading…
Reference in New Issue
Block a user