cleaner: Check mapping after taking cache line lock

Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
This commit is contained in:
Robert Baldyga
2024-06-14 16:43:49 +02:00
parent 0a13bea889
commit dfb2e1a8d5
7 changed files with 35 additions and 48 deletions

View File

@@ -444,7 +444,6 @@ static void _ocf_mngt_flush_container(
fc->req = req;
fc->attribs.lock_cacheline = true;
fc->attribs.lock_metadata = false;
fc->attribs.cmpl_context = fc;
fc->attribs.cmpl_fn = _ocf_mngt_flush_portion_end;
fc->attribs.io_queue = cache->mngt_queue;