Fix updating hot cachelines cleaning list
Update cacheline's timestamp each time it's being written. Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
This commit is contained in:
13
src/utils/utils_request.h
Normal file
13
src/utils/utils_request.h
Normal file
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
* Copyright(c) 2012-2021 Intel Corporation
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
|
||||
#include "../ocf_request.h"
|
||||
#include "../ocf_cache_priv.h"
|
||||
|
||||
typedef int (*ocf_req_actor_t)(struct ocf_request *req, uint32_t map_idx);
|
||||
|
||||
int ocf_req_actor(struct ocf_request *req, ocf_req_actor_t actor);
|
||||
|
||||
void ocf_req_set_cleaning_hot(struct ocf_request *req);
|
Reference in New Issue
Block a user