Move dirty ref counter to cache->refcnt aggregate

Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
This commit is contained in:
Adam Rutkowski
2019-04-08 19:39:52 -04:00
parent 555f477248
commit 979f51612f
4 changed files with 11 additions and 9 deletions

View File

@@ -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;