Rename cleaner attribute cache_line_lock to lock_cacheline

.. to make it clean that true means cleaner must lock
cachelines rather than the lock is already being held.

Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
This commit is contained in:
Adam Rutkowski
2021-03-05 11:20:46 +01:00
parent c40e36456b
commit 056217d103
7 changed files with 7 additions and 7 deletions

View File

@@ -496,7 +496,7 @@ static void _acp_flush(struct acp_context *acp)
struct ocf_cleaner_attribs attribs = {
.cmpl_context = acp,
.cmpl_fn = _acp_flush_end,
.cache_line_lock = false,
.lock_cacheline = false,
.do_sort = false,
.io_queue = cache->cleaner.io_queue,
};

View File

@@ -816,7 +816,7 @@ void cleaning_alru_perform_cleaning(ocf_cache_t cache, ocf_cleaner_end_t cmpl)
fctx->attribs.cmpl_context = fctx;
fctx->attribs.cmpl_fn = alru_clean_complete;
fctx->attribs.cache_line_lock = true;
fctx->attribs.lock_cacheline = true;
fctx->attribs.do_sort = true;
fctx->attribs.io_queue = cache->cleaner.io_queue;