![]() If cfg->core_id is OCF_CORE_MAX and that core matches the UUID of existing not opened one, then set cfg->core_id to id of that core. This is useful when loading cache from metadata: if user does not store the ids of cores but relies on OCF to assign them, there is no need to not reassign them on load. Previus behaviur when cfg->core_id != id of core with matching UUID is maintained. Signed-off-by: Vitaliy Mysak <vitaliy.mysak@intel.com> |
||
---|---|---|
.. | ||
ocf_mngt_cache.c | ||
ocf_mngt_common.c | ||
ocf_mngt_common.h | ||
ocf_mngt_core_pool_priv.h | ||
ocf_mngt_core_pool.c | ||
ocf_mngt_core_priv.h | ||
ocf_mngt_core.c | ||
ocf_mngt_flush.c | ||
ocf_mngt_io_class.c | ||
ocf_mngt_misc.c |