Move ocf_mngt_cache_is_dirty to public mngt interface

This commit is contained in:
Michal Rakowski
2019-06-24 15:23:06 +02:00
parent 2925147395
commit a818ffabfd
2 changed files with 9 additions and 2 deletions

View File

@@ -605,6 +605,15 @@ typedef void (*ocf_mngt_cache_flush_end_t)(ocf_cache_t cache,
void ocf_mngt_cache_flush(ocf_cache_t cache,
ocf_mngt_cache_flush_end_t cmpl, void *priv);
/**
* @brief Check if cache is dirty
*
* @param[in] cache Cache handle
*
* @retval true if cache is dirty, false otherwise
*/
bool ocf_mngt_cache_is_dirty(ocf_cache_t cache);
/**
* @brief Completion callback of core flush operation
*