Merge pull request #482 from arutk/cleaner

Remove dirty check from LRU cleaner getter callback
This commit is contained in:
Robert Baldyga
2021-03-30 21:06:42 +02:00
committed by GitHub

View File

@@ -525,7 +525,6 @@ static int evp_lru_clean_get(ocf_cache_t cache, void *getter_context,
if (ctx->cline[idx] == end_marker) if (ctx->cline[idx] == end_marker)
return -1; return -1;
ENV_BUG_ON(!metadata_test_dirty(ctx->cache, ctx->cline[idx]));
*line = ctx->cline[idx]; *line = ctx->cline[idx];
return 0; return 0;