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

@@ -28,10 +28,8 @@ static void _ocf_read_pt_complete(struct ocf_request *req, int error)
OCF_DEBUG_RQ(req, "Completion");
if (req->error) {
req->info.core_error = 1;
if (req->error)
ocf_core_stats_core_error_update(req->core, OCF_READ);
}
/* Complete request */
req->complete(req, req->error);