Merge pull request #102 from arutk/ajrutkow-fix-core-flush-interrupt-logic

Reset interrupted flag in core_flush
This commit is contained in:
Michal Rakowski 2019-04-05 12:11:08 +02:00 committed by GitHub
commit b8ff6e515f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -737,6 +737,7 @@ static void _ocf_mngt_core_flush(ocf_pipeline_t pipeline, void *priv,
else if (context->op == purge_core)
ocf_cache_log(cache, log_info, "Purging core\n");
context->cache->flushing_interrupted = 0;
_ocf_mngt_flush_core(context, _ocf_mngt_flush_core_complete);
}