ocf/inc
Robert Baldyga aa4622cc01 Make core remove error recoverable
First try to clean only the mapping. This operation does not require any
rollback, so even if flushing collision fails, core object is still
intact. In case of error we inform user that core was not removed by
returning new error code (-OCF_ERR_CORE_NOT_REMOVED).

After flushing collision succeeds we remove core from metadata and
flush superblock at the end. At that point the core is fully removed
from OCF and even if superblock flush error occurs there is nothing we
can do about it, so we just return the error code.

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-03-25 21:32:55 +01:00
..
cleaning Fix license 2021-10-28 13:08:50 +02:00
promotion Fix license 2021-10-28 13:08:50 +02:00
ocf_cache.h Redesign failover standby API 2021-12-29 20:31:40 +01:00
ocf_cfg.h Fix license 2021-10-28 13:08:50 +02:00
ocf_cleaner.h Fix license 2021-10-28 13:08:50 +02:00
ocf_core.h Add promote-on-threshold sequential cutoff switch 2021-11-09 12:54:15 +01:00
ocf_ctx.h Fix license 2021-10-28 13:08:50 +02:00
ocf_debug.h Fix license 2021-10-28 13:08:50 +02:00
ocf_def.h Remove "metadata_layout" parameter of the cache 2022-03-07 17:48:25 +01:00
ocf_err.h Make core remove error recoverable 2022-03-25 21:32:55 +01:00
ocf_io_class.h Fix license 2021-10-28 13:08:50 +02:00
ocf_io.h Fix license 2021-10-28 13:08:50 +02:00
ocf_logger.h Fix compilation error regarding stdarg.h file 2022-02-07 15:10:01 +02:00
ocf_metadata.h Remove ocf_metadata_probe_cores() implementation 2022-03-04 19:13:40 +01:00
ocf_mngt.h Remove "metadata_layout" parameter of the cache 2022-03-07 17:48:25 +01:00
ocf_queue.h Fix license 2021-10-28 13:08:50 +02:00
ocf_stats.h Fix license 2021-10-28 13:08:50 +02:00
ocf_types.h Fix license 2021-10-28 13:08:50 +02:00
ocf_volume.h Add missing include in ocf_volume.h 2022-02-24 12:27:10 +01:00
ocf.h Fix license 2021-10-28 13:08:50 +02:00