Merge pull request #133 from arutk/ajrutkow_async_counters

Extended reference counting
This commit is contained in:
Robert Bałdyga
2019-05-08 14:23:50 +02:00
committed by GitHub
25 changed files with 905 additions and 297 deletions

View File

@@ -160,27 +160,6 @@ bool ocf_cache_is_device_attached(ocf_cache_t cache);
*/
bool ocf_cache_is_running(ocf_cache_t cache);
/**
* @brief Wait for all IO to finish
*
* @param[in] cache Cache object
*/
void ocf_cache_wait_for_io_finish(ocf_cache_t cache);
/**
* @brief Check if cache has any unfunished requests
*
* @param[in] cache Cache object
*/
bool ocf_cache_has_pending_requests(ocf_cache_t cache);
/**
* @brief Check if cleaning triggered by eviction runs on the cache
*
* @param[in] cache Cache object
*/
bool ocf_cache_has_pending_cleaning(ocf_cache_t cache);
/**
* @brief Get cache mode of given cache object
*