ocf/src
Michal Mielewczyk de07458ff2 Common context for cache stop and cache detach
Stop and cache detach were already sharing contexts implicitly, which allowed
to reuse some functions in both pipelines. However, changing the context structs
could lead to not obvious bugs.

To prevent such errors both methods now share context structure explicitly

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
2024-07-10 16:18:33 +02:00
..
cleaning cleaner: Unlock cache mngt lock from queue context 2024-03-21 15:25:18 +01:00
concurrency Add missing headers 2024-05-11 00:51:29 +02:00
engine Add missing ocf_cache_mode_t to ocf_req_cache_mode_t conversions 2024-07-05 16:59:05 +02:00
metadata Add missing "static" to the local function 2024-05-11 00:59:39 +02:00
mngt Common context for cache stop and cache detach 2024-07-10 16:18:33 +02:00
promotion Fix license 2021-10-28 13:08:50 +02:00
utils Add missing "static" to the local function 2024-05-11 00:59:39 +02:00
ocf_cache_priv.h A utility for counting queues 2022-09-26 14:06:40 +02:00
ocf_cache.c Rename cache "initializing" state to "detached" 2024-07-10 16:18:04 +02:00
ocf_composite_volume_priv.h Introduce composite volume 2022-06-02 09:49:39 +02:00
ocf_composite_volume.c Revert "fix deinitialization of moved composite volume" 2022-06-28 08:02:58 +02:00
ocf_core_priv.h Add promote-on-threshold sequential cutoff switch 2021-11-09 12:54:15 +01:00
ocf_core.c Add missing "static" to the local function 2024-05-11 00:59:39 +02:00
ocf_ctx_priv.h expose composite volume type id in API 2022-06-13 11:40:08 +02:00
ocf_ctx.c Introduce composite volume 2022-06-02 09:49:39 +02:00
ocf_def_priv.h Fix license 2021-10-28 13:08:50 +02:00
ocf_io_class.c Verify standby/active cache state in OCF entry points 2022-03-28 09:42:02 +02:00
ocf_io_priv.h remove ocf_io_start function 2022-10-28 15:03:36 +02:00
ocf_io.c Make default io allocators part of internal API 2022-06-02 09:49:39 +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 Use internal implementation of DIV_ROUND_UP 2022-05-10 09:52:17 +02:00
ocf_lru.h Parallelize ocf_lru_populate() 2022-01-28 19:29:21 +01:00
ocf_metadata.c Verify standby/active cache state in OCF entry points 2022-03-28 09:42:02 +02: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 Get rid of req->io_if 2022-09-07 23:07:04 +02:00
ocf_request.c allocate fixed map status alongside request struct 2022-08-29 20:02:18 +02:00
ocf_request.h cleaner: Unlock cache mngt lock from queue context 2024-03-21 15:25:18 +01:00
ocf_seq_cutoff.c Add missing "static" to the local function 2024-05-11 00:59:39 +02: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 Stack memory reduction for OCF stats 2022-09-06 14:34:35 +02:00
ocf_stats_priv.h Fix license 2021-10-28 13:08:50 +02:00
ocf_stats.c Return error from stats API functions in standby 2022-03-29 22:20:04 +02:00
ocf_volume_priv.h Fix license 2021-10-28 13:08:50 +02:00
ocf_volume.c validate uuid->size in ocf_volume_init 2022-06-28 08:02:58 +02:00