ocf/src
Robert Baldyga f0f6ff219b Set core volume type in metadata on core insert
ocf_metadata_flush_superblock() is being called on the cache stop, after
deinitialization of the cores (and their volumes), thus accessing core
volume in superblock flushing procedure leads to use-after-free bug.

Fix this by moving volume type setting to the core insertion code.

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-06-28 07:59:43 +02:00
..
cleaning Use internal implementation of DIV_ROUND_UP 2022-05-10 09:52:17 +02:00
concurrency Mark unlikely branches in pio_concurrency 2022-05-18 11:56:06 +02:00
engine Fix ops(flush) engine 2022-06-01 22:33:35 +02:00
metadata Set core volume type in metadata on core insert 2022-06-28 07:59:43 +02:00
mngt Set core volume type in metadata on core insert 2022-06-28 07:59:43 +02:00
promotion Fix license 2021-10-28 13:08:50 +02:00
utils Pipeline conditional step 2022-06-16 09:33:09 +02:00
ocf_cache_priv.h Explicitly validate superblock after load 2022-03-04 19:12:51 +01:00
ocf_cache.c Remove space from names of internal volumes 2022-04-06 13:23:02 +02:00
ocf_composite_volume_priv.h Introduce composite volume 2022-06-02 09:49:39 +02:00
ocf_composite_volume.c fix deinitialization of moved composite volume 2022-06-13 11:40:08 +02:00
ocf_core_priv.h Add promote-on-threshold sequential cutoff switch 2021-11-09 12:54:15 +01:00
ocf_core.c Remove space from names of internal volumes 2022-04-06 13:23:02 +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 Make default io allocators part of internal API 2022-06-02 09:49:39 +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 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 Return error from stats API functions in standby 2022-03-29 22:20:04 +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 Handle already opened volume in volume open 2022-06-13 11:40:08 +02:00