Added tracing functionality

Signed-off-by: Tomasz Rybicki <tomasz.rybicki@intel.com>
This commit is contained in:
Tomasz Rybicki
2018-12-20 14:10:21 +01:00
parent 2af3b81370
commit 1156531590
11 changed files with 537 additions and 16 deletions

View File

@@ -222,7 +222,7 @@ ocf_cache_mode_t ocf_get_effective_cache_mode(ocf_cache_t cache,
return ocf_cache_mode_pt;
mode = ocf_part_get_cache_mode(cache,
ocf_part_class2id(cache, io->class));
ocf_part_class2id(cache, io->io_class));
if (!ocf_cache_mode_is_valid(mode))
mode = cache->conf_meta->cache_mode;