ocf/src/mngt
Robert Baldyga 5a88ab2d61 Flush metadata collision segment on core remove
If there is any dirty data on the cache associated with removed core,
we must flush collision metadata after removing core to make metadata
persistent in case of dirty shutdown.

This fixes the problem when recovery procedure erroneously interprets
cache lines that belonged to removed core as valid ones.

This also fixes the problem, when after removing core containing dirty
data another core is added, and then recovery procedure following dirty
shutdown assigns cache lines from removed core to the new one, effectively
leading to data corruption.

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-01-19 13:34:28 +01:00
..
ocf_mngt_cache.c Merge pull request #430 from rafalste/fix_attach_load_paths 2020-12-23 16:51:37 +01:00
ocf_mngt_common.c Fine granularity lock in cache_mngt_core_deinit_attached_meta 2021-01-15 03:11:46 -05:00
ocf_mngt_common.h Fix core volume lifecycle management 2020-08-21 16:40:41 +02:00
ocf_mngt_core_pool_priv.h Update copyright statements 2020-04-28 13:37:54 +02:00
ocf_mngt_core_pool.c Update copyright statements 2020-04-28 13:37:54 +02:00
ocf_mngt_core_priv.h Update copyright statements 2020-04-28 13:37:54 +02:00
ocf_mngt_core.c Flush metadata collision segment on core remove 2021-01-19 13:34:28 +01:00
ocf_mngt_flush.c Update copyright statements 2020-04-28 13:37:54 +02:00
ocf_mngt_io_class.c Store min and max ioclass size as percentage val 2020-12-21 08:23:34 -05:00
ocf_mngt_misc.c Update copyright statements 2020-04-28 13:37:54 +02:00