Use cache_error and core_error flags only in WT

Signed-off-by: Rafal Stefanowski <rafal.stefanowski@huawei.com>
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
This commit is contained in:
Rafal Stefanowski
2024-08-28 11:02:39 +02:00
committed by Robert Baldyga
parent 2761540326
commit 194e5a9172
7 changed files with 17 additions and 25 deletions

View File

@@ -78,7 +78,6 @@ static void _ocf_read_generic_miss_complete(struct ocf_request *req, int error)
*/
req->complete(req, req->error);
req->info.core_error = 1;
ocf_core_stats_core_error_update(req->core, OCF_READ);
ctx_data_free(cache->owner, req->cp_data);