Move dirty ref counter to cache->refcnt aggregate
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
This commit is contained in:
@@ -170,11 +170,13 @@ struct ocf_cache {
|
||||
|
||||
env_atomic pending_requests;
|
||||
|
||||
struct {
|
||||
struct ocf_refcnt dirty;
|
||||
} refcnt;
|
||||
|
||||
env_atomic pending_cache_requests;
|
||||
env_waitqueue pending_cache_wq;
|
||||
|
||||
struct ocf_refcnt dirty;
|
||||
|
||||
uint32_t fallback_pt_error_threshold;
|
||||
env_atomic fallback_pt_error_counter;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user