Merge pull request #484 from robertbaldyga/cleaner-dont-check-for-valid-on-skip
cleaner: Don't check for valid if cache line is not dirty
This commit is contained in:
commit
fee4382553
@ -920,7 +920,7 @@ void ocf_cleaner_fire(struct ocf_cache *cache,
|
||||
skip = true;
|
||||
}
|
||||
|
||||
if (!metadata_test_valid_any(cache, cache_line)) {
|
||||
if (!skip && !metadata_test_valid_any(cache, cache_line)) {
|
||||
OCF_DEBUG_MSG(cache, "No any valid");
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user