ocf/src
Jan Musial 9c070c1d25 Fix freeing oversized discard requests
When issuing discard request over 512KiB OCF would trim this request and
overwrite req->core_line_count which would then cause this request to be
freed from wrong mpool.

This is fixed now by saving core_line_count that was set when allocating
this request that is never overwritten. This alloc_core_line_count is
then used to free the request from correct mpool.

Signed-off-by: Jan Musial <jan.musial@intel.com>
2021-03-25 15:16:57 +01:00
..
cleaning Parallel eviction 2021-03-05 11:20:47 +01:00
concurrency Optimize set_hot calls in eviction path 2021-03-05 11:20:47 +01:00
engine Merge pull request #472 from mmichal10/lock-on-setting-hot 2021-03-19 09:54:32 +01:00
eviction Prevent remapping cachelines within single request 2021-03-18 17:11:45 -05:00
metadata Merge pull request #471 from arutk/lru_fix_2 2021-03-18 20:33:11 +01:00
mngt ut framework: don't mock env functions 2021-03-19 16:08:27 +01:00
promotion Update copyright statements (2021) 2021-01-21 13:17:34 +01:00
utils Merge pull request #457 from Ostrokrzew/false_stats 2021-03-18 10:24:02 +01:00
ocf_cache_priv.h Update copyright statements (2021) 2021-01-21 13:17:34 +01:00
ocf_cache.c Merge pull request #457 from Ostrokrzew/false_stats 2021-03-18 10:24:02 +01:00
ocf_core_priv.h Per-queue multi-stream sequential cutoff 2021-03-04 16:38:31 +01:00
ocf_core.c Merge pull request #457 from Ostrokrzew/false_stats 2021-03-18 10:24:02 +01:00
ocf_ctx_priv.h Use mpool to allocate metadata_io requests 2021-03-10 16:10:11 +01:00
ocf_ctx.c Use mpool to allocate metadata_io requests 2021-03-10 16:10:11 +01:00
ocf_def_priv.h Update copyright statements (2021) 2021-01-21 13:17:34 +01:00
ocf_freelist.c Update copyright statements (2021) 2021-01-21 13:17:34 +01:00
ocf_freelist.h Update copyright statements (2021) 2021-01-21 13:17:34 +01:00
ocf_io_class.c Update copyright statements (2021) 2021-01-21 13:17:34 +01:00
ocf_io_priv.h Update copyright statements (2021) 2021-01-21 13:17:34 +01:00
ocf_io.c Update copyright statements (2021) 2021-01-21 13:17:34 +01:00
ocf_logger_priv.h Update copyright statements (2021) 2021-01-21 13:17:34 +01:00
ocf_logger.c Update copyright statements (2021) 2021-01-21 13:17:34 +01:00
ocf_metadata.c Update copyright statements (2021) 2021-01-21 13:17:34 +01:00
ocf_priv.h Update copyright statements (2021) 2021-01-21 13:17:34 +01:00
ocf_queue_priv.h Merge pull request #448 from robertbaldyga/perqueue-seq-cutoff 2021-03-05 14:38:21 +01:00
ocf_queue.c Per-queue multi-stream sequential cutoff 2021-03-04 16:38:31 +01:00
ocf_request.c Fix freeing oversized discard requests 2021-03-25 15:16:57 +01:00
ocf_request.h Fix freeing oversized discard requests 2021-03-25 15:16:57 +01:00
ocf_seq_cutoff.c Use read/write locks in queue sequential cutoffs 2021-03-23 09:54:56 +01:00
ocf_seq_cutoff.h Per-queue multi-stream sequential cutoff 2021-03-04 16:38:31 +01:00
ocf_stats_builder.c Update copyright statements (2021) 2021-01-21 13:17:34 +01:00
ocf_stats_priv.h Update copyright statements (2021) 2021-01-21 13:17:34 +01:00
ocf_stats.c Update copyright statements (2021) 2021-01-21 13:17:34 +01:00
ocf_trace_priv.h Update copyright statements (2021) 2021-01-21 13:17:34 +01:00
ocf_trace.c Update copyright statements (2021) 2021-01-21 13:17:34 +01:00
ocf_volume_priv.h Update copyright statements (2021) 2021-01-21 13:17:34 +01:00
ocf_volume.c Update copyright statements (2021) 2021-01-21 13:17:34 +01:00