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
commit 0bdc8208e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)
return -1;
ENV_BUG_ON(!metadata_test_dirty(ctx->cache, ctx->cline[idx]));
*line = ctx->cline[idx];
return 0;