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:
@@ -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,
|
||||
};
|
||||
|
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user