Fix pipeline attach/load paths

Create separate pipelines for cache attach and load scenarios.

Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
This commit is contained in:
Rafal Stefanowski
2020-12-18 00:37:37 +01:00
parent 4c42d62f97
commit 88b97df16d
3 changed files with 206 additions and 158 deletions

View File

@@ -392,11 +392,12 @@ struct ocf_mngt_cache_device_config {
bool open_cores;
/**
* @brief Ignore warnings and start cache
* @brief Ignore warnings and initialize new cache instance
*
* @note It will force starting cache despite the:
* - overwrite dirty shutdown of previous cache
* - ignore cache with dirty shutdown and reinitialize cache
* If set to true, it will force initializing new cache despite the
* existing metadata from previous cache instance.
*
* @note This flag is not allowed when loading existing cache instance.
*/
bool force;