Verify standby/active cache state in OCF entry points

Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
This commit is contained in:
Adam Rutkowski
2022-03-23 15:03:50 +01:00
parent e741160f8d
commit 4a839cd332
11 changed files with 174 additions and 1 deletions

View File

@@ -91,6 +91,11 @@ void __wrap_ocf_mngt_cache_unlock(env_rwsem *s)
function_called();
}
bool __wrap_ocf_cache_is_standby(ocf_cache_t cache)
{
return false;
}
static void cleaner_complete(ocf_cleaner_t cleaner, uint32_t interval)
{
function_called();