ocf/src/mngt
Vitaliy Mysak 8391300bc8 Set core_id during load if user did not specify one
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>
2019-05-09 23:39:18 +00:00
..
ocf_mngt_cache.c Distinguish stopping cache from attached and detached states. 2019-05-09 08:21:36 -04:00
ocf_mngt_common.c Combine cache ref counter and valid flag into ocf_refcnt 2019-05-06 19:37:51 -04:00
ocf_mngt_common.h Parametrize pipeline steps 2019-03-20 17:06:56 +01:00
ocf_mngt_core_pool_priv.h Initialize and deinitialize core pool with ctx 2019-05-09 11:22:06 +02:00
ocf_mngt_core_pool.c Initialize and deinitialize core pool with ctx 2019-05-09 11:22:06 +02:00
ocf_mngt_core_priv.h Initialize and deinitialize core pool with ctx 2019-05-09 11:22:06 +02:00
ocf_mngt_core.c Set core_id during load if user did not specify one 2019-05-09 23:39:18 +00:00
ocf_mngt_flush.c Merge pull request #133 from arutk/ajrutkow_async_counters 2019-05-08 14:23:50 +02:00
ocf_mngt_io_class.c Rename default IO class to lowercase "unclassified" 2019-03-29 15:15:44 -04:00
ocf_mngt_misc.c Initial commit 2018-11-29 15:14:21 +01:00