Implement asynchronous save, add core and remove core

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
Robert Baldyga
2019-03-18 15:42:51 +01:00
parent f81a7e9d23
commit 72b6f35f52
5 changed files with 431 additions and 158 deletions

View File

@@ -253,6 +253,11 @@ void __wrap_ocf_mngt_cache_detach_finish(
{
}
void __wrap_ocf_mngt_cache_save_finish(
ocf_pipeline_t pipeline, void *priv, int error)
{
}
static void _cache_mng_set_cache_mode_test01(void **state)
{
ocf_cache_mode_t mode_old = -20;

View File

@@ -210,6 +210,11 @@ void __wrap_ocf_mngt_cache_detach_finish(
{
}
void __wrap_ocf_mngt_cache_save_finish(
ocf_pipeline_t pipeline, void *priv, int error)
{
}
static void ocf_mngt_cache_set_fallback_pt_error_threshold_test01(void **state)
{
struct ocf_cache cache;