Merge pull request #64 from robertbaldyga/add-has-pending-reqs-func

Add ocf_cache_has_pending_requests() function
This commit is contained in:
Jan Musiał
2019-02-27 12:22:16 +01:00
committed by GitHub
2 changed files with 15 additions and 0 deletions

View File

@@ -167,6 +167,13 @@ bool ocf_cache_is_running(ocf_cache_t cache);
*/
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 Get cache mode of given cache object
*