ocf/src
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 Parallelize ACP recovery 2022-01-31 06:59:28 +01:00
concurrency Add missing hb lock functions implementation 2022-01-28 19:29:21 +01:00
engine Remove "metadata_layout" parameter of the cache 2022-03-07 17:48:25 +01:00
metadata Remove extra whitespace 2022-03-09 11:44:27 +01:00
mngt Make core remove error recoverable 2022-03-25 21:32:55 +01:00
promotion Fix license 2021-10-28 13:08:50 +02:00
utils Remove "metadata_layout" parameter of the cache 2022-03-07 17:48:25 +01:00
ocf_cache_priv.h Explicitly validate superblock after load 2022-03-04 19:12:51 +01:00
ocf_cache.c Don't attempt to set data for flush/discard on cache volume 2022-03-17 21:18:31 +01:00
ocf_core_priv.h Add promote-on-threshold sequential cutoff switch 2021-11-09 12:54:15 +01:00
ocf_core.c Prevent race condition in fast path 2021-12-08 09:00:04 +01:00
ocf_ctx_priv.h Fix license 2021-10-28 13:08:50 +02:00
ocf_ctx.c Deinit all registered volume types 2021-12-08 14:16:49 +01:00
ocf_def_priv.h Fix license 2021-10-28 13:08:50 +02:00
ocf_io_class.c Additional cleaning policy info outside of the SB 2021-11-19 11:53:48 +01:00
ocf_io_priv.h Fix license 2021-10-28 13:08:50 +02:00
ocf_io.c License change to be approved by contributors 2021-10-27 12:48:20 +02:00
ocf_logger_priv.h Fix license 2021-10-28 13:08:50 +02:00
ocf_logger.c Fix license 2021-10-28 13:08:50 +02:00
ocf_lru_structs.h Fix license 2021-10-28 13:08:50 +02:00
ocf_lru.c Shuffle entries within freelists 2022-01-31 06:59:28 +01:00
ocf_lru.h Parallelize ocf_lru_populate() 2022-01-28 19:29:21 +01:00
ocf_metadata.c Remove "metadata_layout" parameter of the cache 2022-03-07 17:48:25 +01:00
ocf_priv.h Fix license 2021-10-28 13:08:50 +02:00
ocf_queue_priv.h Fix license 2021-10-28 13:08:50 +02:00
ocf_queue.c License change to be approved by contributors 2021-10-27 12:48:20 +02:00
ocf_request.c Fix license 2021-10-28 13:08:50 +02:00
ocf_request.h Fix for issues #988 and #997 2021-11-24 08:15:07 +01:00
ocf_seq_cutoff.c Add promote-on-threshold sequential cutoff switch 2021-11-09 12:54:15 +01:00
ocf_seq_cutoff.h Fix license 2021-10-28 13:08:50 +02:00
ocf_space.c Fix license 2021-10-28 13:08:50 +02:00
ocf_space.h Fix license 2021-10-28 13:08:50 +02:00
ocf_stats_builder.c Fix license 2021-10-28 13:08:50 +02:00
ocf_stats_priv.h Fix license 2021-10-28 13:08:50 +02:00
ocf_stats.c Fix license 2021-10-28 13:08:50 +02:00
ocf_volume_priv.h Fix license 2021-10-28 13:08:50 +02:00
ocf_volume.c fix volume_close completion order 2021-12-22 15:18:34 +08:00