cleaner: Don't check for valid if cache line is not dirty
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
parent
642794dcd7
commit
49b9b36d13
@ -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