Check core status during recovery based on core metadata
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
parent
568c565497
commit
25e2551964
@ -527,7 +527,7 @@ static int _ocf_mngt_rebuild_metadata(ocf_cache_t cache)
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!cache->core[core_id].added) {
|
||||
if (!cache->core[core_id].conf_meta->valid) {
|
||||
ocf_cache_log(cache, log_err, "Stale mapping in "
|
||||
"on-disk metadata - refusing to "
|
||||
"recover cache.\n");
|
||||
|
Loading…
Reference in New Issue
Block a user