Dynamic I/O queue management
- Queue allocation is now separated from starting cache. - Queue can be created and destroyed in runtime. - All queue ops accept queue handle instead of queue id. - Cache stores queues as list instead of array. Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com> Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
committed by
Robert Baldyga
parent
1771228a46
commit
e53944d472
@@ -185,8 +185,7 @@ struct ocf_cache {
|
||||
|
||||
env_atomic pending_eviction_clines;
|
||||
|
||||
struct ocf_queue *io_queues;
|
||||
uint32_t io_queues_no;
|
||||
struct list_head io_queues;
|
||||
|
||||
uint16_t ocf_core_inactive_count;
|
||||
struct ocf_core core[OCF_CORE_MAX];
|
||||
|
||||
Reference in New Issue
Block a user