Add ocf_cache_set_flush_queue() function

This is needed to enable flushing with dynamic queues.

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
Robert Baldyga
2019-02-28 10:01:41 +01:00
parent d5ac3035d7
commit c1028b2b89
5 changed files with 53 additions and 1 deletions

View File

@@ -186,6 +186,7 @@ struct ocf_cache {
env_atomic pending_eviction_clines;
struct list_head io_queues;
ocf_queue_t flush_queue;
uint16_t ocf_core_inactive_count;
struct ocf_core core[OCF_CORE_MAX];